From c6348c9f78ac1a987f94dbed89e4f383117209f7 Mon Sep 17 00:00:00 2001 From: Michael Kohler Date: Tue, 23 May 2023 23:33:55 +0200 Subject: [PATCH] Remove age_ts from reference hash calculation (#1536) * Remove age_ts from reference hash calculation Signed-off-by: Michael Kohler * Add newsfragment * Fix newsfragment number * Update changelogs/server_server/newsfragments/1536.clarification Co-authored-by: Travis Ralston --------- Signed-off-by: Michael Kohler Co-authored-by: Travis Ralston --- changelogs/server_server/newsfragments/1536.clarification | 1 + content/server-server-api.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/server_server/newsfragments/1536.clarification diff --git a/changelogs/server_server/newsfragments/1536.clarification b/changelogs/server_server/newsfragments/1536.clarification new file mode 100644 index 00000000..717dc43f --- /dev/null +++ b/changelogs/server_server/newsfragments/1536.clarification @@ -0,0 +1 @@ +Remove extraneous `age_ts` field from the reference hash calculation section. \ No newline at end of file diff --git a/content/server-server-api.md b/content/server-server-api.md index fabe7820..b8c78345 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -1270,7 +1270,7 @@ specification](/rooms) for more information. It is calculated as follows. 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. 3. The event is converted into [Canonical JSON](/appendices#canonical-json).