diff --git a/src/Model/Item.php b/src/Model/Item.php index 6a442951af..3d3e4d0014 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -933,7 +933,7 @@ class Item $item['inform'] = trim($item['inform'] ?? ''); $item['file'] = trim($item['file'] ?? ''); - // Communities aren't working with the Diaspora protoccol + // Communities aren't working with the Diaspora protocol if (($uid != 0) && ($item['network'] == Protocol::DIASPORA)) { $user = User::getById($uid, ['account-type']); if ($user['account-type'] == Contact::TYPE_COMMUNITY) { diff --git a/src/Module/Diaspora/Receive.php b/src/Module/Diaspora/Receive.php index d95e252e59..4df2192d39 100644 --- a/src/Module/Diaspora/Receive.php +++ b/src/Module/Diaspora/Receive.php @@ -101,7 +101,7 @@ class Receive extends BaseModule } if ($importer['account-type'] == User::ACCOUNT_TYPE_COMMUNITY) { - // Communities aren't working with the Diaspora protoccol + // Communities aren't working with the Diaspora protocol // We throw an "accepted" here, so that the sender doesn't repeat the delivery throw new HTTPException\AcceptedException(); }