Rephrase explanation of the purpose of reference hashes and link to the

room version spec.

Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
This commit is contained in:
Jimmy Cuadra 2019-07-09 15:25:23 -07:00
parent 5df86dabe0
commit a3d2d14dae

View file

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