refactor various Arc<EventId> to OwnedEventId
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
5a335933b8
commit
6458f4b195
29 changed files with 142 additions and 152 deletions
|
@ -77,7 +77,7 @@ impl Service {
|
|||
|
||||
let pdu = self.services.timeline.get_pdu_from_id(&pdu_id).await?;
|
||||
|
||||
let event_id: OwnedEventId = pdu.event_id.into();
|
||||
let event_id: OwnedEventId = pdu.event_id;
|
||||
let user_id: OwnedUserId = user_id.to_owned();
|
||||
let content: BTreeMap<OwnedEventId, Receipts> = BTreeMap::from_iter([(
|
||||
event_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue