Merge pull request #12594 from annando/diaspora-communication

Fix communication to Diaspora when not in bulk mode
This commit is contained in:
Hypolite Petovan 2023-01-01 15:13:45 -05:00 committed by GitHub
commit fde223327f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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']);
}