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

Commit

Permalink
Mention callbacks introduced in v1.42.0
Browse files Browse the repository at this point in the history
According to #10524
  • Loading branch information
babolivier committed Oct 20, 2021
1 parent e96eb76 commit f475266
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/presence_router_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The available presence router callbacks are:

### `get_users_for_states`

_First introduced in Synapse v1.42.0_

```python
async def get_users_for_states(
state_updates: Iterable["synapse.api.UserPresenceState"],
Expand All @@ -30,6 +32,8 @@ Synapse concatenates the sets associated with this key from each dictionary.

### `get_interested_users`

_First introduced in Synapse v1.42.0_

```python
async def get_interested_users(
user_id: str
Expand Down

0 comments on commit f475266

Please sign in to comment.