diff options
Diffstat (limited to 'app/models/feed.rb')
-rw-r--r-- | app/models/feed.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/feed.rb b/app/models/feed.rb index 0c0b8ae2c..9f2b34c82 100644 --- a/app/models/feed.rb +++ b/app/models/feed.rb @@ -12,7 +12,7 @@ class Feed return PrecomputeFeedService.new.(@type, @account).take(limit) if unhydrated.empty? && offset == 0 Status.where(id: unhydrated).with_includes.with_counters.each { |status| status_map[status.id.to_s] = status } - return unhydrated.map { |id| status_map[id] } + return unhydrated.map { |id| status_map[id] }.compact end private |