From 69775afa77048a8cd645221bcd9ab33f3b51ae00 Mon Sep 17 00:00:00 2001 From: babolivier Date: Tue, 14 Jun 2022 15:25:01 +0000 Subject: deploy: bdb6628dcf303e38960a56a9f97da71033826287 --- develop/print.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'develop/print.html') diff --git a/develop/print.html b/develop/print.html index 9ce9937b89..e59d08df52 100644 --- a/develop/print.html +++ b/develop/print.html @@ -8520,7 +8520,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa this callback.

user_may_invite

First introduced in Synapse v1.37.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def user_may_invite(inviter: str, invitee: str, room_id: str) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
 

Called when processing an invitation. Both inviter and invitee are @@ -8549,7 +8549,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa this callback.

user_may_send_3pid_invite

First introduced in Synapse v1.45.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def user_may_send_3pid_invite(
     inviter: str,
     medium: str,
@@ -8598,7 +8598,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa
 this callback.

user_may_create_room

First introduced in Synapse v1.37.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def user_may_create_room(user_id: str) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
 

Called when processing a room creation request.

@@ -8626,7 +8626,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa this callback.

user_may_create_room_alias

First introduced in Synapse v1.37.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def user_may_create_room_alias(user_id: str, room_alias: "synapse.module_api.RoomAlias") -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
 

Called when trying to associate an alias with an existing room.

@@ -8654,7 +8654,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa this callback.

user_may_publish_room

First introduced in Synapse v1.37.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def user_may_publish_room(user_id: str, room_id: str) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
 

Called when trying to publish a room to the homeserver's public rooms directory.

@@ -8731,7 +8731,7 @@ be used. If this happens, Synapse will not call any of the subsequent implementa this callback.

check_media_file_for_spam

First introduced in Synapse v1.37.0

-

Changed in Synapse v1.61.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

+

Changed in Synapse v1.62.0: synapse.module_api.NOT_SPAM and synapse.module_api.errors.Codes can be returned by this callback. Returning a boolean is now deprecated.

async def check_media_file_for_spam(
     file_wrapper: "synapse.rest.media.v1.media_storage.ReadableFileWrapper",
     file_info: "synapse.rest.media.v1._base.FileInfo",
-- 
cgit 1.5.1