[home] Show a status if you posted a filtered word

This commit is contained in:
Fosco Marotto 2021-01-22 00:17:25 -05:00
parent bd3fb4994a
commit d35550e535
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class HomeFeed < Feed
on cf.account_id = #{@id} and ( on cf.account_id = #{@id} and (
st.text like '%' || cf.phrase || '%' st.text like '%' || cf.phrase || '%'
or rb.text like '%' || cf.phrase || '%') or rb.text like '%' || cf.phrase || '%')
where cf.id is null where cf.id is null or st.account_id = #{@id}
" "
# .reject { |status| FeedManager.instance.filter?(:home, status, @account.id) } # .reject { |status| FeedManager.instance.filter?(:home, status, @account.id) }
# Status.as_home_timeline(@account) # Status.as_home_timeline(@account)