do not send message_list responses to dead sites (this delivery method bypassed the notifier)
This commit is contained in:
parent
22d45a8d1e
commit
28cd2759d7
@ -3872,7 +3872,7 @@ function zot_reply_message_request($data) {
|
|||||||
if ($messages) {
|
if ($messages) {
|
||||||
$env_recips = null;
|
$env_recips = null;
|
||||||
|
|
||||||
$r = q("select hubloc.*, site.site_crypto from hubloc left join site on hubloc_url = site_url where hubloc_hash = '%s' and hubloc_error = 0 and hubloc_deleted = 0",
|
$r = q("select hubloc.*, site.site_crypto from hubloc left join site on hubloc_url = site_url where hubloc_hash = '%s' and hubloc_error = 0 and hubloc_deleted = 0 and site.site_dead = 0 ",
|
||||||
dbesc($sender_hash)
|
dbesc($sender_hash)
|
||||||
);
|
);
|
||||||
if (! $r) {
|
if (! $r) {
|
||||||
|
Reference in New Issue
Block a user