Browse Source

Fix DM timeline failing to load from database

closed-social-glitch-2
Claire 3 years ago
parent
commit
995ad2af30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/direct_feed.rb

+ 1
- 1
app/models/direct_feed.rb View File

@ -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

Loading…
Cancel
Save