From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 04:08:09 +0000 (-0400) Subject: spelling: protocol X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be49a3a2b53e6ed1d08a443f1d8646c84c24c930;p=friendica.git spelling: protocol Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- 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(); }