mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 00:31:24 +01:00
Bump ruma to 2ea8b833e3a80c1d650964a1f3e83ee569cf5c0b (RoomVersion -> RoomVersionRules)
<https://github.com/ruma/ruma/pull/2045>
This commit is contained in:
parent
3f8d7d19ce
commit
6dd9adc5af
9 changed files with 129 additions and 102 deletions
|
|
@ -22,10 +22,11 @@ use ruma::{
|
|||
},
|
||||
TimelineEventType,
|
||||
},
|
||||
room_version_rules::RoomVersionRules,
|
||||
serde::Raw,
|
||||
signatures::verify_json,
|
||||
EventId, MilliSecondsSinceUnixEpoch, OwnedMxcUri, OwnedRoomId,
|
||||
OwnedServerName, RoomId, RoomVersionId, ServerName, UserId,
|
||||
OwnedServerName, RoomId, ServerName, UserId,
|
||||
};
|
||||
use serde_json::value::to_raw_value;
|
||||
use tokio::sync::{mpsc, Mutex, RwLock};
|
||||
|
|
@ -592,7 +593,7 @@ impl Service {
|
|||
Ok(value) => {
|
||||
match ruma::signatures::reference_hash(
|
||||
&value,
|
||||
&RoomVersionId::V6,
|
||||
&RoomVersionRules::V6,
|
||||
) {
|
||||
Ok(hash) => {
|
||||
let event_id =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue