[group_collection] Change to -my groups- timeline

This commit is contained in:
Fosco Marotto
2021-01-23 03:13:47 -05:00
parent 3719a6cfd7
commit 958e8aad3a
4 changed files with 61 additions and 8 deletions

View File

@@ -36,8 +36,8 @@ class HomeFeed < Feed
or s.account_id in (select target_account_id from follows where account_id = #{@id})
)
and s.account_id not in (select target_account_id from mutes where account_id = #{@id})
and reblog.account_id not in (select target_account_id from mutes where account_id = #{@id})
and reblog.account_id not in (select target_account_id from blocks where account_id = #{@id})
and (reblog.id is null or reblog.account_id not in (select target_account_id from mutes where account_id = #{@id}))
and (reblog.id is null or reblog.account_id not in (select target_account_id from blocks where account_id = #{@id}))
#{pagination_max}
#{pagination_min}
order by s.created_at desc