Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove C-S unsigned data from PDU definitions #3522

Merged
merged 1 commit into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelogs/room_versions/newsfragments/3522.clarification
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.
22 changes: 1 addition & 21 deletions data/api/server-server/definitions/unsigned_pdu_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,33 +117,13 @@ properties:
type: object
title: UnsignedData
description: |-
Additional data added by the origin server but not covered by the `signatures`. More
keys than those defined here may be used.
Additional data added by the origin server but not covered by the `signatures`.
example: {"key": "value"}
properties:
age:
type: integer
description: The number of milliseconds that have passed since this message was sent.
example: 4612
replaces_state:
type: string
description: The event ID of the state event this event replaces.
example: "$state_event:example.org"
prev_sender:
type: string
description: The sender of the replaced state event.
example: "@someone:example.org"
prev_content:
type: object
description: The content of the replaced state event.
example: {
"membership": "join",
"displayname": "Bob"
}
redacted_because:
type: string
description: A reason for why the event was redacted.
example: "Inappropriate content"
required:
- event_id
- room_id
Expand Down