diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-03-18 16:14:08 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2021-03-18 16:20:34 +0000 |
commit | 0c49a14aecee72878abf3b7b14c37d2ca7142ac5 (patch) | |
tree | 34d2686d10c046b4f8c821398fdf946a30e8acb1 /pyproject.toml | |
parent | Add a built-in PresenceRouter class (diff) | |
download | synapse-0c49a14aecee72878abf3b7b14c37d2ca7142ac5.tar.xz |
Modify `get_interested_parties` and `get_interested_remotes` to query PresenceRouter
This commit asks the PresenceRouter for any users - in addition to those from users that they share a room with - that should receive the given presence updates. These methods are called when routing new presence updates around as they come in. * `get_interested_parties` is called when figuring out which local and remote users to send presence to. For local users, their sync streams will be woken up. * `get_interested_remotes` is specifically for figuring out which remote user(s) a given presence update needs to go to.
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions