do not send message_list responses to dead sites (this delivery method bypassed the notifier)

This commit is contained in:
zotlabs 2017-11-01 17:50:57 -07:00
parent 22d45a8d1e
commit 28cd2759d7

View File

@ -3872,7 +3872,7 @@ function zot_reply_message_request($data) {
if ($messages) {
$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)
);
if (! $r) {