aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-25 08:47:39 +0000
committerMario <mario@mariovavti.com>2021-09-25 08:47:39 +0000
commitb35d95da5299ccce9ad79661cf384d3bab514ca6 (patch)
treeda632edc972da6c3e524cc2a93f440ff4af9fddc
parentfeca5afaa5c921896d224df0245ef983e7197cb4 (diff)
downloadvolse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.tar.gz
volse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.tar.bz2
volse-hubzilla-b35d95da5299ccce9ad79661cf384d3bab514ca6.zip
dismiss deleted xchans in query
-rw-r--r--Zotlabs/Widget/Messages.php3
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'] . ', ';
}