diff options
author | Mario <mario@mariovavti.com> | 2021-09-25 08:47:39 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-25 08:47:39 +0000 |
commit | b35d95da5299ccce9ad79661cf384d3bab514ca6 (patch) | |
tree | da632edc972da6c3e524cc2a93f440ff4af9fddc | |
parent | feca5afaa5c921896d224df0245ef983e7197cb4 (diff) | |
download | volse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.tar.gz volse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.tar.bz2 volse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.zip |
dismiss deleted xchans in query
-rw-r--r-- | Zotlabs/Widget/Messages.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 22662a01d..eb3a07da1 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -177,8 +177,7 @@ class Messages { stringify_array_elms($recips, true); $query_str = implode(',', $recips); - $xchans = dbq("SELECT DISTINCT xchan_name FROM xchan WHERE $column IN ($query_str)"); - + $xchans = dbq("SELECT DISTINCT xchan_name FROM xchan WHERE $column IN ($query_str) AND xchan_deleted = 0"); foreach($xchans as $xchan) { $recipients .= $xchan['xchan_name'] . ', '; } |