synapse/changelog.d
Andrew Morgan 04819239ba
Add a Synapse Module for configuring presence update routing (#9491)
At the moment, if you'd like to share presence between local or remote users, those users must be sharing a room together. This isn't always the most convenient or useful situation though.

This PR adds a module to Synapse that will allow deployments to set up extra logic on where presence updates should be routed. The module must implement two methods, `get_users_for_states` and `get_interested_users`. These methods are given presence updates or user IDs and must return information that Synapse will use to grant passing presence updates around.

A method is additionally added to `ModuleApi` which allows triggering a set of users to receive the current, online presence information for all users they are considered interested in. This is the equivalent of that user receiving presence information during an initial sync. 

The goal of this module is to be fairly generic and useful for a variety of applications, with hard requirements being:

* Sending state for a specific set or all known users to a defined set of local and remote users.
* The ability to trigger an initial sync for specific users, so they receive all current state.
2021-04-06 14:38:30 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9491.feature Add a Synapse Module for configuring presence update routing (#9491) 2021-04-06 14:38:30 +01:00
9685.misc Rewrite complement.sh (#9685) 2021-03-31 11:58:12 +01:00
9686.misc Improve tracing for to device messages (#9686) 2021-04-01 17:08:21 +01:00
9691.feature Add order_by to list user admin API (#9691) 2021-04-01 11:28:53 +01:00
9700.feature Replace room_invite_state_types with room_prejoin_state (#9700) 2021-03-30 12:12:44 +01:00
9710.feature Include m.room.create in invite_room_state for Spaces (#9710) 2021-03-30 14:03:17 +01:00
9711.bugfix Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
9717.feature Add an experimental room version to support restricted join rules. (#9717) 2021-03-31 16:39:08 -04:00
9718.removal Deprecate imp (#9718) 2021-03-31 12:04:27 +01:00
9719.doc Make sample config allowed_local_3pids regex stricter. (#9719) 2021-03-31 12:27:20 +00:00
9725.bugfix Remove outdated constraint on remote_media_cache_thumbnails (#9725) 2021-04-06 13:36:05 +01:00
9730.misc Add type hints to expiring cache. (#9730) 2021-04-06 08:58:18 -04:00
9736.misc Convert storage test cases to HomeserverTestCase. (#9736) 2021-04-06 07:21:02 -04:00
9742.misc Update mypy configuration: no_implicit_optional = True (#9742) 2021-04-05 09:10:18 -04:00
9743.misc Add type hints to the federation handler and server. (#9743) 2021-04-06 07:21:57 -04:00
9753.misc Fix reported bugbear: too broad exception assertion (#9753) 2021-04-06 13:48:22 +01:00