Skip to content

Commit 7b0f5ea

Browse files
authored
Merge pull request #2159 from jimmycuadra/reference-hash-purpose
Clarify the purpose of reference hashes.
2 parents 52643a9 + a3d2d14 commit 7b0f5ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Clarify the purpose of reference hashes.

specification/server_server_api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,9 @@ Calculating the reference hash for an event
11341134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11351135

11361136
The *reference hash* of an event covers the essential fields of an event,
1137-
including content hashes. It is calculated as follows.
1137+
including content hashes. It is used for event identifiers in some room versions.
1138+
See the `room version specification`_ for more information. It is calculated as
1139+
follows.
11381140

11391141
1. The event is put through the redaction algorithm.
11401142

0 commit comments

Comments
 (0)