From 28cd2759d76c9227c474c8c1da073a4f91cf5523 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 1 Nov 2017 17:50:57 -0700 Subject: do not send message_list responses to dead sites (this delivery method bypassed the notifier) --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 5270ed8b8..6647daa0a 100644 --- a/include/zot.php +++ b/include/zot.php @@ -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) { -- cgit v1.2.3