mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 06:28:59 +00:00
Fix DM timeline failing to load from database
This commit is contained in:
parent
935e376078
commit
995ad2af30
|
@ -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…
Reference in a new issue