aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-01 17:50:57 -0700
committerzotlabs <mike@macgirvin.com>2017-11-01 17:50:57 -0700
commit28cd2759d76c9227c474c8c1da073a4f91cf5523 (patch)
tree772e4d0b8422d2a56b405002c79208ed63ce08bc
parent22d45a8d1ecfa0a0a2b8429ec3233e7099e84b66 (diff)
downloadvolse-hubzilla-28cd2759d76c9227c474c8c1da073a4f91cf5523.tar.gz
volse-hubzilla-28cd2759d76c9227c474c8c1da073a4f91cf5523.tar.bz2
volse-hubzilla-28cd2759d76c9227c474c8c1da073a4f91cf5523.zip
do not send message_list responses to dead sites (this delivery method bypassed the notifier)
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
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) {