]> git.mxchange.org Git - friendica.git/commitdiff
spelling: protocol
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 04:08:09 +0000 (00:08 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:14:16 +0000 (16:14 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Model/Item.php
src/Module/Diaspora/Receive.php

index 6a442951af518afbef056b19596fba95093f469d..3d3e4d0014ece2b9216d162f5a47de9fa89da9c8 100644 (file)
@@ -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) {
index d95e252e597d26ee9f264abfc382e24d224d9dd4..4df2192d394c06dfe34cbf698342f89a2df476df 100644 (file)
@@ -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();
                }