Deleting statuses, deletion propagation
This commit is contained in:
parent
75b3339a99
commit
5c99e304e5
5 changed files with 18 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue