diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-05-18 14:13:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 14:13:45 +0100 |
commit | 4d6e5a5e995590efe44855d10dcd2a89b841dae8 (patch) | |
tree | 793277f5bfeebe433857743707620660122aa3dd /docs | |
parent | Fix the allowed range of valid ordering characters for spaces. (#10002) (diff) | |
download | synapse-4d6e5a5e995590efe44855d10dcd2a89b841dae8.tar.xz |
Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/presence_router_module.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/presence_router_module.md b/docs/presence_router_module.md index d6566d978d..d2844915df 100644 --- a/docs/presence_router_module.md +++ b/docs/presence_router_module.md @@ -28,7 +28,11 @@ async def ModuleApi.send_local_online_presence_to(users: Iterable[str]) -> None which can be given a list of local or remote MXIDs to broadcast known, online user presence to (for those users that the receiving user is considered interested in). It does not include state for users who are currently offline, and it can only be -called on workers that support sending federation. +called on workers that support sending federation. Additionally, this method must +only be called from the process that has been configured to write to the +the [presence stream](https://github.com/matrix-org/synapse/blob/master/docs/workers.md#stream-writers). +By default, this is the main process, but another worker can be configured to do +so. ### Module structure |