Merge branch 'v5' into 'master'

feat: support room version 5

See merge request famedly/conduit!138
This commit is contained in:
Timo Kösters 2021-07-21 11:05:59 +00:00
commit e0072eff63
6 changed files with 35 additions and 22 deletions

View file

@ -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")
))