-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove C-S
unsigned
data from PDU definitions (#3522)
Remove a bunch of fields from the `unsigned` property of PDUs. These things shouldn't be passed over the Federation API, and they *really* shouldn't be trusted if they are sent by another server. * `replaces_state` *is* returned by Synapse, but probably shouldn't be. * `redacted_because`, `prev_sender` and `prev_content` are not sent by Synapse.
- Loading branch information
Showing
2 changed files
with
2 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Remove a number of fields which were incorrectly shown to form part of the `unsigned` data of a Federation PDU. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters