From c91c2ef4be8b08bd57fc604d65db008bb00496da Mon Sep 17 00:00:00 2001 From: sandhose Date: Wed, 6 Mar 2024 15:02:30 +0000 Subject: deploy: 4af33015af280b4716e812e47d5631fcac088128 --- develop/modules/third_party_rules_callbacks.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'develop/modules') diff --git a/develop/modules/third_party_rules_callbacks.html b/develop/modules/third_party_rules_callbacks.html index 01f4762082..e96e8cfb4b 100644 --- a/develop/modules/third_party_rules_callbacks.html +++ b/develop/modules/third_party_rules_callbacks.html @@ -263,6 +263,9 @@ any of the subsequent implementations of this callback.

Called after sending an event into a room. The module is passed the event, as well as the state of the room after the event. This means that if the event is a state event, it will be included in this state.

+

The state map may not be complete if Synapse hasn't yet loaded the full state +of the room. This can happen for events in rooms that were just joined from +a remote server.

Note that this callback is called when the event has already been processed and stored into the room, which means this callback cannot be used to deny persisting the event. To deny an incoming event, see check_event_for_spam instead.

-- cgit 1.5.1