Skip to content

Commit

Permalink
Fix incorrect activity matching in notification unfiltering worker (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Aug 16, 2024
1 parent 1acbb62 commit 2d589a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/unfilter_notifications_worker.rb
Original file line number Diff line number Diff line change
@@ -43,6 +43,6 @@ def filtered_notifications
end

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

0 comments on commit 2d589a5

Please sign in to comment.