mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
Revert "if there is no site record, site_dead won't be 0, in a left join it will in fact be null. As long as it isn't 1, we should attempt delivery."
This reverts commit 42f5291f69
.
This commit is contained in:
parent
01809b08c9
commit
b6be0e1b99
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ class Notifier {
|
|||
// Let's reduce this to a set of hubs; checking that the site is not dead.
|
||||
|
||||
$r = q("select hubloc.*, site.site_crypto from hubloc left join site on site_url = hubloc_url where hubloc_hash in (" . implode(',',$recipients) . ")
|
||||
and hubloc_error = 0 and hubloc_deleted = 0 and ( site_dead = 0 OR site_dead is null ) "
|
||||
and hubloc_error = 0 and hubloc_deleted = 0 and site_dead = 0"
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue