Merge pull request #2159 from jimmycuadra/reference-hash-purpose

Clarify the purpose of reference hashes.
This commit is contained in:
Travis Ralston 2019-07-09 16:27:44 -06:00 committed by GitHub
commit 7b0f5ea77b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1 @@
Clarify the purpose of reference hashes.

View file

@ -1134,7 +1134,9 @@ Calculating the reference hash for an event
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The *reference hash* of an event covers the essential fields of an event,
including content hashes. It is calculated as follows.
including content hashes. It is used for event identifiers in some room versions.
See the `room version specification`_ for more information. It is calculated as
follows.
1. The event is put through the redaction algorithm.