aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-25 21:36:34 +0000
committerMario <mario@mariovavti.com>2024-02-25 21:36:34 +0000
commitc639704f3c1a34bdd8bccd0e6ce37f3eef3921d7 (patch)
tree184990c0fc6db82a0c5e89214bf7ef077ad8b980 /Zotlabs/Widget
parent3dd739424718596b94f5a61d2015388db2491999 (diff)
downloadvolse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.tar.gz
volse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.tar.bz2
volse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.zip
more streams compatibility
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Messages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php
index 157b3f535..519bb27fe 100644
--- a/Zotlabs/Widget/Messages.php
+++ b/Zotlabs/Widget/Messages.php
@@ -61,7 +61,8 @@ class Messages {
$channel = App::get_channel();
$item_normal = item_normal();
- $item_normal .= " and item.verb != '" . ACTIVITY_FOLLOW . "'";
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " and item.verb not in ('Add', 'Remove', '" . ACTIVITY_FOLLOW . "') ";
$item_normal_i = str_replace('item.', 'i.', $item_normal);
$item_normal_c = str_replace('item.', 'c.', $item_normal);
$entries = [];