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

Commit

Permalink
Clarify presence router docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Oct 20, 2023
1 parent e9069c9 commit 9284fce
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/modules/presence_router_callbacks.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# 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 updates presence updates from local users. The additional users
can be local or remote.

For example, it could be used to have `alice` receive all presence updates from
`bob` even though they don't share a room.

Presence router callbacks can be registered using the module API's
`register_presence_router_callbacks` method.

## Callbacks

Expand Down

0 comments on commit 9284fce

Please sign in to comment.