diff options
author | sandhose <sandhose@users.noreply.github.com> | 2024-03-06 15:02:30 +0000 |
---|---|---|
committer | sandhose <sandhose@users.noreply.github.com> | 2024-03-06 15:02:30 +0000 |
commit | c91c2ef4be8b08bd57fc604d65db008bb00496da (patch) | |
tree | b9b7731ee90e581d6c13f6f5e4513a3cff7a76aa /develop/print.html | |
parent | deploy: ab80b3412e314b25827bcc5c61628e024c8cf571 (diff) | |
download | synapse-c91c2ef4be8b08bd57fc604d65db008bb00496da.tar.xz |
deploy: 4af33015af280b4716e812e47d5631fcac088128
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/develop/print.html b/develop/print.html index 91e7cfa8cf..8096fe41f4 100644 --- a/develop/print.html +++ b/develop/print.html @@ -10593,6 +10593,9 @@ any of the subsequent implementations of this callback.</p> <p>Called after sending an event into a room. The module is passed the event, as well as the state of the room <em>after</em> the event. This means that if the event is a state event, it will be included in this state.</p> +<p>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.</p> <p>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 <a href="modules/spam_checker_callbacks.html#check_event_for_spam"><code>check_event_for_spam</code></a> instead.</p> |