eliminate future wrapping stream for all_pdus()

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-12-08 07:12:23 +00:00
1 parent 8e8c6bfe07
commit de3b137df8
3 files changed
+11 -9

No files matched your search

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