diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-10-23 09:12:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 09:12:42 -0400 |
commit | 91e65700bdb19ff14f3a8b995f340d5a019b0495 (patch) | |
tree | 1e03f4659b36c21fbb47dcc6aab3426c88e74f59 /docs/modules/presence_router_callbacks.md | |
parent | Documentation. (diff) | |
parent | Mention how to redirect the Jaeger traces to a specific Jaeger instance (#16531) (diff) | |
download | synapse-github/clokep/db-upgrades.tar.xz |
Merge branch 'develop' into clokep/db-upgrades github/clokep/db-upgrades clokep/db-upgrades
Diffstat (limited to 'docs/modules/presence_router_callbacks.md')
-rw-r--r-- | docs/modules/presence_router_callbacks.md | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/modules/presence_router_callbacks.md b/docs/modules/presence_router_callbacks.md index d3da25cef4..b210f0e3cd 100644 --- a/docs/modules/presence_router_callbacks.md +++ b/docs/modules/presence_router_callbacks.md @@ -1,8 +1,16 @@ # Presence router callbacks -Presence router callbacks allow module developers to specify additional users (local or remote) -to receive certain presence updates from local users. Presence router callbacks can be -registered using the module API's `register_presence_router_callbacks` method. +Presence router callbacks allow module developers to define additional users +which receive presence updates from local users. The additional users +can be local or remote. + +For example, it could be used to direct all of `@alice:example.com` (a local user)'s +presence updates to `@bob:matrix.org` (a remote user), even though they don't share a +room. (Note that those presence updates might not make it to `@bob:matrix.org`'s client +unless a similar presence router is running on that homeserver.) + +Presence router callbacks can be registered using the module API's +`register_presence_router_callbacks` method. ## Callbacks |