eliminate future wrapping stream for all_pdus()
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
8e8c6bfe07
commit
de3b137df8
3 changed files with 11 additions and 9 deletions
|
@ -609,7 +609,6 @@ async fn load_joined_room(
|
|||
.rooms
|
||||
.timeline
|
||||
.all_pdus(sender_user, room_id)
|
||||
.await?
|
||||
.ready_filter(|(_, pdu)| pdu.kind == RoomMember)
|
||||
.filter_map(|(_, pdu)| async move {
|
||||
let content: RoomMemberEventContent = pdu.get_content().ok()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue