From 203083cdd4e2caccf59f41992357004c1235f7fc Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 1 Sep 2022 14:58:16 +0200 Subject: [PATCH] fix(megolm spec): Correct the version for the session export format. It was mistakenly claimed to be 2 when it's supposed to be 1. --- docs/megolm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/megolm.md b/docs/megolm.md index a384786..9bff131 100644 --- a/docs/megolm.md +++ b/docs/megolm.md @@ -227,7 +227,7 @@ The Megolm session export format is thus as follows: 0 1 5 37 69 101 133 165 bytes ``` -The version byte, ``V``, is ``"\x02"``. +The version byte, ``V``, is ``"\x01"``. This is followed by the ratchet index, $`i`$, which is encoded as a big-endian 32-bit integer; the ratchet values $`R_{i,j}`$; and the public