From be49a3a2b53e6ed1d08a443f1d8646c84c24c930 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:08:09 -0400 Subject: [PATCH] spelling: protocol Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Model/Item.php | 2 +- src/Module/Diaspora/Receive.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }