diff options
author | Mario <mario@mariovavti.com> | 2021-03-14 09:01:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-15 08:49:53 +0000 |
commit | 4d3524ba9dd155d71969debc5c24198e8bd7b7a1 (patch) | |
tree | 5a6ed284c1cff4a9495d769346cc9c922e533231 /Zotlabs/Module/Item.php | |
parent | 29beea28c2604efcd10e4daa242d7e58bafe59d8 (diff) | |
download | volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.tar.gz volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.tar.bz2 volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.zip |
mod subthread issue continued
(cherry picked from commit b6d30f67345f37dae8dfffd96b065e6139364bcd)
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index bc35ac452..f9a13a131 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -55,7 +55,12 @@ class Item extends Controller { $portable_id = EMPTY_STR; - $item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_blocked = 0 "; + $item_normal_extra = sprintf(" and not verb in ('%s', '%s') ", + dbesc(ACTIVITY_FOLLOW), + dbesc(ACTIVITY_UNFOLLOW) + ); + + $item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_blocked = 0 $item_normal_extra "; $i = null; @@ -167,7 +172,12 @@ class Item extends Controller { $portable_id = EMPTY_STR; - $item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_blocked = 0 "; + $item_normal_extra = sprintf(" and not verb in ('%s', '%s') ", + dbesc(ACTIVITY_FOLLOW), + dbesc(ACTIVITY_UNFOLLOW) + ); + + $item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_blocked = 0 $item_normal_extra "; $i = null; |