From f4752665fba31ded03e82694f4b9180b8690822e Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 20 Oct 2021 11:13:46 +0100 Subject: [PATCH] Mention callbacks introduced in v1.42.0 According to https://github.com/matrix-org/synapse/pull/10524 --- docs/modules/presence_router_callbacks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/modules/presence_router_callbacks.md b/docs/modules/presence_router_callbacks.md index 349e185bd6a6..d3da25cef413 100644 --- a/docs/modules/presence_router_callbacks.md +++ b/docs/modules/presence_router_callbacks.md @@ -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"], @@ -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