]> git.mxchange.org Git - friendica.git/commitdiff
Fix communication to Diaspora when not in bulk mode
authorMichael <heluecht@pirati.ca>
Sun, 1 Jan 2023 19:52:08 +0000 (19:52 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 1 Jan 2023 19:52:08 +0000 (19:52 +0000)
src/Worker/Notifier.php

index c2f542dd3258fff192d8de50f5eb940586776795..0b7460c53dd3206c647cebb05c80866ffab7c158 100644 (file)
@@ -566,9 +566,9 @@ class Notifier
                        }
 
                        if (empty($contact['gsid'])) {
-                               $reachable = !GServer::reachable($contact);
+                               $reachable = GServer::reachable($contact);
                        } elseif (!DI::config()->get('system', 'bulk_delivery')) {
-                               $reachable = !GServer::isReachableById($contact['gsid']);
+                               $reachable = GServer::isReachableById($contact['gsid']);
                        } else {
                                $reachable = !GServer::isDefunctById($contact['gsid']);
                        }