synapse-product/synapse/push
Andrew Morgan 17fa58bdd1
Add a config option to change whether unread push notification counts are per-message or per-room (#8820)
This PR adds a new config option to the `push` section of the homeserver config, `group_unread_count_by_room`. By default Synapse will group push notifications by room (so if you have 1000 unread messages, if they lie in 55 rooms, you'll see an unread count on your phone of 55).

However, it is also useful to be able to send out the true count of unread messages if desired. If `group_unread_count_by_room` is set to `false`, then with the above example, one would see an unread count of 1000 (email anyone?).
2020-11-30 18:43:54 +00:00
..
__init__.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
action_generator.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
baserules.py Add base pushrule to notify for jitsi conferences (#8286) 2020-11-02 16:36:14 +00:00
bulk_push_rule_evaluator.py Implement and use an @lru_cache decorator (#8595) 2020-10-30 11:43:17 +00:00
clientformat.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
emailpusher.py Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
httppusher.py Add a config option to change whether unread push notification counts are per-message or per-room (#8820) 2020-11-30 18:43:54 +00:00
mailer.py Fix email notifications for invites without local state. (#8627) 2020-10-23 10:41:32 +01:00
presentable_names.py Convert push to async/await. (#7948) 2020-07-27 12:21:34 -04:00
push_rule_evaluator.py Apply suggestions from code review 2020-10-16 16:14:42 +01:00
push_tools.py Add a config option to change whether unread push notification counts are per-message or per-room (#8820) 2020-11-30 18:43:54 +00:00
pusher.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
pusherpool.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00