From 53b46855ef2d8c42787e03e7d1fd047e68765ad1 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 24 Nov 2022 19:45:45 +0000 Subject: [PATCH] return "null" --- src/Core/Protocol.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Protocol.php b/src/Core/Protocol.php index 511954c7f9..25955abd50 100644 --- a/src/Core/Protocol.php +++ b/src/Core/Protocol.php @@ -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;