summary refs log tree commit diff
path: root/docs/modules/presence_router_callbacks.md
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-10-20 13:04:27 +0200
committerGitHub <noreply@github.com>2021-10-20 11:04:27 +0000
commit78d5896d19692e4b6cdbf09f807915e6b0929ce5 (patch)
tree42b2441cb20c2d7e5262c2e6532607ef30466963 /docs/modules/presence_router_callbacks.md
parentAdd missing type hints to event fetching. (#11121) (diff)
downloadsynapse-78d5896d19692e4b6cdbf09f807915e6b0929ce5.tar.xz
Document the version of Synapse each module callback was introduced in (#11132)
* Mention callbacks introduced in v1.37.0

According to the documentation introduced in https://github.com/matrix-org/synapse/pull/10062

* Mention callbacks introduced in v1.39.0

According to https://github.com/matrix-org/synapse/pull/10386 and https://github.com/matrix-org/synapse/pull/9884

* Mention callbacks introduced in v1.42.0

According to https://github.com/matrix-org/synapse/pull/10524

* Mention callbacks introduced in v1.44.0 and v1.45.0

As per https://github.com/matrix-org/synapse/pull/10898, https://github.com/matrix-org/synapse/pull/10910 and https://github.com/matrix-org/synapse/pull/10894

* Mention callbacks introduced in v1.46.0

According to https://github.com/matrix-org/synapse/pull/10548
Diffstat (limited to 'docs/modules/presence_router_callbacks.md')
-rw-r--r--docs/modules/presence_router_callbacks.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/modules/presence_router_callbacks.md b/docs/modules/presence_router_callbacks.md
index 349e185bd6..d3da25cef4 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