Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update presence_router_callbacks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Oct 20, 2023
1 parent a86aebc commit 7efdfa3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/modules/presence_router_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ 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.
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.
Expand Down

0 comments on commit 7efdfa3

Please sign in to comment.