-
Notifications
You must be signed in to change notification settings - Fork 217
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
Synapse sends empty m.push_rules
account_data in initial sync
#16987
Comments
The user in question has The easiest fix here would be to switch things around so the calculated push rules trump whatever is in account data: synapse/synapse/handlers/sync.py Lines 1951 to 1956 in 892cbd0
And/or make a background update to delete such entries from We should also double check that there is no longer anyway of actually setting |
There are roughly 1.2k users on matrix.org with an c.f. |
We actually used to do this, but the condition got swapped in matrix-org/synapse#16325, so this is a regression from v1.93.0 |
Description
As per title. The spec lists a number of ordered default rules which must be present, and they are via the push rules API but missing in the corresponding account_data event.
Steps to reproduce
Homeserver
matrix.org
Synapse Version
1.102.0rc1
Installation Method
I don't know
Database
I don't know
Workers
I don't know
Platform
I don't know
Configuration
I don't know
Relevant log output
I don't know
Anything else that would be useful to know?
https://matrix-client.matrix.org/_matrix/client/v3/sync?filter=%7B%22room%22%3A%7B%22timeline%22%3A%7B%22unread_thread_notifications%22%3Atrue%2C%22limit%22%3A20%7D%2C%22state%22%3A%7B%22lazy_load_members%22%3Atrue%7D%7D%7D&timeout=0&_cacheBuster=1709907549083
for anyone wishing to sleuth logs@webdevguru_github:matrix.org
The text was updated successfully, but these errors were encountered: