mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-27 23:55:52 +00:00
Try to figure out what the heck is going on with that flaky test
This commit is contained in:
parent
1acbb628b9
commit
ed5e68ca00
|
@ -27,7 +27,10 @@ class UnfilterNotificationsWorker
|
||||||
private
|
private
|
||||||
|
|
||||||
def push_to_conversations!
|
def push_to_conversations!
|
||||||
notifications_with_private_mentions.reorder(nil).find_each(order: :desc) { |notification| AccountConversation.add_status(@recipient, notification.target_status) }
|
notifications_with_private_mentions.reorder(nil).find_each(order: :desc) do |notification|
|
||||||
|
puts "DEBUG: what is going on???? #{notification.type.inspect} #{notification.account.notifications.count} #{notification.from_account.statuses.count} #{notification.activity.inspect}" if notification.target_status.nil?
|
||||||
|
AccountConversation.add_status(@recipient, notification.target_status)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def unfilter_notifications!
|
def unfilter_notifications!
|
||||||
|
|
Loading…
Reference in a new issue