Merge branch 'v5' into 'master'
feat: support room version 5 See merge request famedly/conduit!138
This commit is contained in:
commit
e0072eff63
6 changed files with 35 additions and 22 deletions
|
@ -328,6 +328,7 @@ pub(crate) fn gen_event_id_canonical_json(
|
|||
|
||||
let event_id = EventId::try_from(&*format!(
|
||||
"${}",
|
||||
// Anything higher than version3 behaves the same
|
||||
ruma::signatures::reference_hash(&value, &RoomVersionId::Version6)
|
||||
.expect("ruma can calculate reference hashes")
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue