eliminate future wrapping stream for all_pdus()

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-06 03:09:08 +00:00
parent 8e8c6bfe07
commit de3b137df8
3 changed files with 11 additions and 9 deletions

View file

@ -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()?;