mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
return "null"
This commit is contained in:
parent
6a434588a9
commit
53b46855ef
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue