events: Use Signatures in more places
This commit is contained in:
committed by
strawberry
parent
5ed3718310
commit
f87f388280
@@ -11,7 +11,7 @@ use futures_util::future::ready;
|
||||
use js_int::{int, uint};
|
||||
use ruma_common::{
|
||||
event_id, room_id, user_id, EventId, MilliSecondsSinceUnixEpoch, OwnedEventId, RoomId,
|
||||
RoomVersionId, UserId,
|
||||
RoomVersionId, ServerSignatures, UserId,
|
||||
};
|
||||
use ruma_events::{
|
||||
pdu::{EventHash, Pdu, RoomV3Pdu},
|
||||
@@ -401,7 +401,7 @@ pub(crate) fn to_init_pdu_event(
|
||||
prev_events: vec![],
|
||||
depth: uint!(0),
|
||||
hashes: EventHash::new("".to_owned()),
|
||||
signatures: BTreeMap::new(),
|
||||
signatures: ServerSignatures::default(),
|
||||
}),
|
||||
})
|
||||
}
|
||||
@@ -439,7 +439,7 @@ where
|
||||
prev_events,
|
||||
depth: uint!(0),
|
||||
hashes: EventHash::new("".to_owned()),
|
||||
signatures: BTreeMap::new(),
|
||||
signatures: ServerSignatures::default(),
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user