mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
refactor: Ruma upstraming, bake a little more
This commit is contained in:
1 parent
204bc1367e
commit
a4e64383b7
115 files changed
+1907
-1504
No files matched your search
@@ -63,7 +63,8 @@ pub async fn verify_event(
|
||||
) -> Result<Verified> {
|
||||
let room_version = room_version.unwrap_or(&RoomVersionId::V12);
|
||||
let keys = self.get_event_keys(event, room_version).await?;
|
||||
ruma::signatures::verify_event(&keys, event, &room_version.rules().unwrap()).map_err(Into::into)
|
||||
ruma::signatures::verify_event(&keys, event, &room_version.rules().unwrap())
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
#[implement(super::Service)]
|
||||
|
||||
Reference in new issue
Block a user