Move prev_content to unsigned (#3524)

This commit is contained in:
Richard van der Hoff 2021-12-02 17:22:58 +00:00 committed by GitHub
parent 1e12b45f97
commit 7f200c53e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 48 additions and 9 deletions

View file

@ -1354,13 +1354,11 @@ the server-server API.
#### State event fields
In addition to the fields of a Room Event, State Events have the
following fields.
following field:
| Key | Type | Description |
|--------------|--------------|--------------------------------------------------------------------------------------------------------------|
| state_key | string | **Required.** A unique key which defines the overwriting semantics for this piece of room state. This value is often a zero-length string. The presence of this key makes this event a State Event. State keys starting with an `@` are reserved for referencing user IDs, such as room members. With the exception of a few events, state events set with a given user's ID as the state key MUST only be set by that user. |
| prev_content | EventContent | Optional. The previous `content` for this event. If there is no previous content, this key will be missing. |
### Size limits