From 995ad2af30d4838d07d68f0e89f1868307d1e478 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 12 Mar 2021 22:31:17 +0100 Subject: [PATCH] Fix DM timeline failing to load from database --- app/models/direct_feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/direct_feed.rb b/app/models/direct_feed.rb index c0b8a0a35b..1f2448070f 100644 --- a/app/models/direct_feed.rb +++ b/app/models/direct_feed.rb @@ -24,7 +24,7 @@ class DirectFeed < Feed statuses = Status.as_direct_timeline(@account, limit, max_id, since_id, min_id) return statuses if statuses.empty? max_id = statuses.last.id - statuses = statuses.reject { |status| FeedManager.instance.filter?(:direct, status, @account.id) } + statuses = statuses.reject { |status| FeedManager.instance.filter?(:direct, status, @account) } return statuses unless statuses.empty? end end