mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
simplify get_pdu() interface; eliminate unconditional Arc
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
58be22e695
commit
6175e72f1c
16 files changed
+51
-52
No files matched your search
@@ -1021,7 +1021,7 @@ async fn load_joined_room(
|
||||
state: RoomState {
|
||||
events: state_events
|
||||
.iter()
|
||||
.map(|pdu| pdu.to_sync_state_event())
|
||||
.map(PduEvent::to_sync_state_event)
|
||||
.collect(),
|
||||
},
|
||||
ephemeral: Ephemeral {
|
||||
|
||||
Reference in new issue
Block a user