Remove age_ts from reference hash calculation (#1536)

* Remove age_ts from reference hash calculation

Signed-off-by: Michael Kohler <me@michaelkohler.info>

* Add newsfragment

* Fix newsfragment number

* Update changelogs/server_server/newsfragments/1536.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>

---------

Signed-off-by: Michael Kohler <me@michaelkohler.info>
Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Michael Kohler 2023-05-23 23:33:55 +02:00 committed by GitHub
parent c94bebc983
commit c6348c9f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Remove extraneous `age_ts` field from the reference hash calculation section.

View file

@ -1270,7 +1270,7 @@ specification](/rooms) for more information. It is
calculated as follows. calculated as follows.
1. The event is put through the redaction algorithm. 1. The event is put through the redaction algorithm.
2. The `signatures`, `age_ts`, and `unsigned` properties are removed 2. The `signatures` and `unsigned` properties are removed
from the event, if present. from the event, if present.
3. The event is converted into [Canonical 3. The event is converted into [Canonical
JSON](/appendices#canonical-json). JSON](/appendices#canonical-json).