]> git.mxchange.org Git - friendica.git/commitdiff
return "null"
authorMichael <heluecht@pirati.ca>
Thu, 24 Nov 2022 19:45:45 +0000 (19:45 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 24 Nov 2022 19:45:45 +0000 (19:45 +0000)
src/Core/Protocol.php

index 511954c7f93a14fd0685e08cb5373b14a947fba2..25955abd5090d21d3387e75cc02d98d00bc20bf5 100644 (file)
@@ -183,7 +183,7 @@ class Protocol
        {
                if (empty($contact['network'])) {
                        Logger::notice('Contact has got no network, we quit here', ['id' => $contact['id']]);
-                       return true;
+                       return null;
                }
 
                $protocol = $contact['network'];
@@ -207,7 +207,7 @@ class Protocol
 
                        if (empty($contact['notify'])) {
                                Logger::notice('OStatus/DFRN Contact is missing notify, we quit here', ['id' => $contact['id']]);
-                               return true;
+                               return null;
                        }
 
                        return Salmon::slapper($user, $contact['notify'], $slap) === 0;