Cleanup rooms.rs, globals.rs, and pdu.rs
This commit is contained in:
parent
4b28146ee7
commit
d655f4c1be
3 changed files with 19 additions and 26 deletions
|
@ -349,7 +349,7 @@ pub(crate) fn gen_event_id_canonical_json(
|
|||
let event_id = format!(
|
||||
"${}",
|
||||
// Anything higher than version3 behaves the same
|
||||
ruma::signatures::reference_hash(&value, &room_version_id)
|
||||
ruma::signatures::reference_hash(&value, &room_version_id?)
|
||||
.expect("ruma can calculate reference hashes")
|
||||
)
|
||||
.try_into()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue