Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add edge case notes
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Oct 25, 2023
1 parent 3e3de91 commit 421c7a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/modules/add_extra_fields_to_client_events_unsigned.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ async def add_field_to_unsigned(

where the extra fields to add to the event's unsigned section is returned.
(Modules must not attempt to modify the `event` directly).

This cannot be used to alter the "core" fields in the unsigned section emitted
by Synapse itself.

If multiple such callbacks try to add the same field to an event's unsigned
section, the last-registered callback wins.

0 comments on commit 421c7a1

Please sign in to comment.