various cleanup tweaks/fixes
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
96fcf7f94d
commit
26dcab272d
18 changed files with 86 additions and 99 deletions
|
@ -77,14 +77,14 @@ pub(crate) async fn search_events_route(
|
|||
.user_can_see_state_events(sender_user, room_id)
|
||||
.await
|
||||
{
|
||||
let room_state = services
|
||||
let room_state: Vec<_> = services
|
||||
.rooms
|
||||
.state_accessor
|
||||
.room_state_full(room_id)
|
||||
.await?
|
||||
.values()
|
||||
.map(|pdu| pdu.to_state_event())
|
||||
.collect::<Vec<_>>();
|
||||
.collect();
|
||||
|
||||
debug!("Room state: {:?}", room_state);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue