-
- Downloads
Track notification counts per thread (implement MSC3773). (#13776)
When retrieving counts of notifications segment the results based on the thread ID, but choose whether to return them as individual threads or as a single summed field by letting the client opt-in via a sync flag. The summarization code is also updated to be per thread, instead of per room.
Showing
- changelog.d/13776.feature 1 addition, 0 deletionschangelog.d/13776.feature
- synapse/api/constants.py 3 additions, 0 deletionssynapse/api/constants.py
- synapse/api/filtering.py 10 additions, 0 deletionssynapse/api/filtering.py
- synapse/config/experimental.py 2 additions, 0 deletionssynapse/config/experimental.py
- synapse/handlers/sync.py 35 additions, 5 deletionssynapse/handlers/sync.py
- synapse/push/bulk_push_rule_evaluator.py 2 additions, 2 deletionssynapse/push/bulk_push_rule_evaluator.py
- synapse/push/push_tools.py 7 additions, 2 deletionssynapse/push/push_tools.py
- synapse/rest/client/sync.py 4 additions, 0 deletionssynapse/rest/client/sync.py
- synapse/rest/client/versions.py 2 additions, 1 deletionsynapse/rest/client/versions.py
- synapse/storage/database.py 1 addition, 1 deletionsynapse/storage/database.py
- synapse/storage/databases/main/event_push_actions.py 115 additions, 73 deletionssynapse/storage/databases/main/event_push_actions.py
- synapse/storage/schema/__init__.py 3 additions, 3 deletionssynapse/storage/schema/__init__.py
- synapse/storage/schema/main/delta/73/06thread_notifications_backfill.sql 29 additions, 0 deletions.../schema/main/delta/73/06thread_notifications_backfill.sql
- synapse/storage/schema/main/delta/73/07thread_notifications_not_null.sql.postgres 19 additions, 0 deletions...ain/delta/73/07thread_notifications_not_null.sql.postgres
- synapse/storage/schema/main/delta/73/07thread_notifications_not_null.sql.sqlite 101 additions, 0 deletions.../main/delta/73/07thread_notifications_not_null.sql.sqlite
- tests/replication/slave/storage/test_events.py 13 additions, 4 deletionstests/replication/slave/storage/test_events.py
- tests/storage/test_event_push_actions.py 167 additions, 2 deletionstests/storage/test_event_push_actions.py
Loading
Please register or sign in to comment