diff options
author | Mario <mario@mariovavti.com> | 2023-07-19 12:52:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-07-19 12:52:41 +0000 |
commit | 7200c716736d879501a665c9797ccf9e0131b24c (patch) | |
tree | 6d72914b0378f23d9f24190fb196a84123e5e875 /Zotlabs/Widget | |
parent | 330add963dbe2195e0613f35b8f63c15eee585a0 (diff) | |
download | volse-hubzilla-7200c716736d879501a665c9797ccf9e0131b24c.tar.gz volse-hubzilla-7200c716736d879501a665c9797ccf9e0131b24c.tar.bz2 volse-hubzilla-7200c716736d879501a665c9797ccf9e0131b24c.zip |
ignore internal follow activity
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Messages.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 0a8900c4f..cdd889121 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -60,8 +60,10 @@ class Messages { } $channel = App::get_channel(); - $item_normal_i = str_replace('item.', 'i.', item_normal()); - $item_normal_c = str_replace('item.', 'c.', item_normal()); + $item_normal = item_normal(); + $item_normal .= " and item.verb != '" . ACTIVITY_FOLLOW . "'"; + $item_normal_i = str_replace('item.', 'i.', $item_normal); + $item_normal_c = str_replace('item.', 'c.', $item_normal); $entries = []; $limit = 30; $dummy_order_sql = ''; |