From d35550e535480a866ffd3a4382fb238fb0b12d47 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Fri, 22 Jan 2021 00:17:25 -0500 Subject: [PATCH] [home] Show a status if you posted a filtered word --- app/models/home_feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/home_feed.rb b/app/models/home_feed.rb index ee088fff..632340a2 100644 --- a/app/models/home_feed.rb +++ b/app/models/home_feed.rb @@ -49,7 +49,7 @@ class HomeFeed < Feed on cf.account_id = #{@id} and ( st.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) } # Status.as_home_timeline(@account)