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

Ignore notification counts from rooms you've left #16954

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Feb 23, 2024

This fixes a bug in #16756, where notifications the user had received from rooms they had left were still being counted.

This was most apparent for rejected invites, where you "leave" the room you were invited to without sending a read receipt in that room, thus clearing the notification.

This fixes a bug in #16904,
where notifications the user had received from rooms they had left were
still being counted.

This was most apparent for rejected invites, where you "leave" the room
you were invited to without sending a read receipt in that room, thus
clearing the notification.
@anoadragon453 anoadragon453 marked this pull request as ready for review February 23, 2024 12:26
@anoadragon453 anoadragon453 requested a review from a team as a code owner February 23, 2024 12:26
Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds sensible

synapse/storage/databases/main/event_push_actions.py Outdated Show resolved Hide resolved
synapse/storage/databases/main/event_push_actions.py Outdated Show resolved Hide resolved
synapse/storage/databases/main/event_push_actions.py Outdated Show resolved Hide resolved
Co-authored-by: reivilibre <oliverw@matrix.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants