Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect activity matching in notification unfiltering worker #31456

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Aug 16, 2024

This scope was occasionally matching notifications that were not for mentions, but whose activity_id happened to match a mention with the same id (activity is a polymorphic association, but the type was not checked in this SQL bit).

See #31455 (comment) for more information.

@ClearlyClaire ClearlyClaire added the bug Something isn't working label Aug 16, 2024
@ClearlyClaire ClearlyClaire requested a review from a team August 16, 2024 15:58
@renchap renchap added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@ClearlyClaire ClearlyClaire added this pull request to the merge queue Aug 16, 2024
Merged via the queue into main with commit 2d589a5 Aug 16, 2024
32 checks passed
@ClearlyClaire ClearlyClaire deleted the fixes/unfiltering-mention branch August 16, 2024 17:22
justinwritescode pushed a commit to justinwritescode/mastodon that referenced this pull request Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants