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

Merge notable count from the server during sync #868

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

redstrate
Copy link
Contributor

This fixes a bug in the following case:

  • The user has disabled notifications for messages in their push rules.
  • There is no room-specific override for notifications in the push rules.

In libQuotient applications - despite being asked to not to - will still add new unread messages to the notable count. This does not happen in other clients, e.g. Element. So now the notable count is used from the server which is correct as it takes into account the push configured by the user.

This fixes a bug in the following case:
* The user has disabled notifications for messages in their push rules.
* There is no room-specific override for notifications in the push
rules.

In libQuotient applications - despite being asked to not to - will still
add new unread messages to the notable count. This does not happen in
other clients, e.g. Element. So now the notable count is used from the
server which is correct as it takes into account the push
configured by the user.
@redstrate
Copy link
Contributor Author

hmm, I think this causes some asserts to trip still :D

@KitsuneRal KitsuneRal self-requested a review February 22, 2025 12:27
@KitsuneRal KitsuneRal added the bug/fix The library doesn't work as expected label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix The library doesn't work as expected
Projects
Status: In work
Development

Successfully merging this pull request may close these issues.

2 participants