mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 00:30:57 +01:00
Fix incorrect activity matching in notification unfiltering worker (#31456)
This commit is contained in:
parent
1acbb628b9
commit
2d589a5ed4
1 changed files with 1 additions and 1 deletions
|
@ -43,6 +43,6 @@ class UnfilterNotificationsWorker
|
||||||
end
|
end
|
||||||
|
|
||||||
def notifications_with_private_mentions
|
def notifications_with_private_mentions
|
||||||
filtered_notifications.joins(mention: :status).merge(Status.where(visibility: :direct)).includes(mention: :status)
|
filtered_notifications.where(type: :mention).joins(mention: :status).merge(Status.where(visibility: :direct)).includes(mention: :status)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue