forked-synapse/synapse
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
..
_scripts Strip trailing / from server_url in register_new_matrix_user (#8823) 2020-11-26 10:57:26 +00:00
api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
app Defer SIGHUP handlers to reactor. (#8817) 2020-11-26 11:18:10 +00:00
appservice Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 2020-10-30 15:23:16 +00:00
config 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
crypto Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
events Use TYPE_CHECKING instead of magic MYPY variable. (#8770) 2020-11-17 09:09:40 -05:00
federation Consistently use room_id from federation request body (#8776) 2020-11-19 10:05:33 +00:00
groups Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
handlers Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
http Remove special case of pretty printing JSON responses for curl (#8833) 2020-11-27 12:37:55 +00:00
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
metrics Add metrics for tracking 3PID /requestToken requests. (#8712) 2020-11-13 12:03:51 +00:00
module_api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
push 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
replication Add typing to membership Replication class methods (#8809) 2020-11-27 10:49:38 +00:00
res/templates Include a simple message in email notifications that include encrypted content (#8545) 2020-10-19 09:12:39 -04:00
rest Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
server_notices Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
spam_checker_api Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
state Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
static Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
storage Speed up remote invite rejection database call (#8815) 2020-11-25 20:06:13 +00:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-30 15:24:10 +00:00
__init__.py 1.23.0 2020-11-18 11:41:41 +00:00
event_auth.py Ensure that event.redacts is the proper type before handling it (#8457) 2020-10-05 10:24:17 -04:00
notifier.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
python_dependencies.py Cap the version of prometheus_client to <v0.9.0 in the dockerfile (#8767) 2020-11-17 16:01:33 +00:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
types.py Improve error checking for OIDC/SAML mapping providers (#8774) 2020-11-19 14:25:17 -05:00
visibility.py Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00