mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
implement several broadband loops
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
59d5e3ebf1
commit
1d02851028
7 files changed
+47
-22
No files matched your search
@@ -1,7 +1,10 @@
|
||||
mod v3;
|
||||
mod v4;
|
||||
|
||||
use conduit::{utils::ReadyExt, PduCount};
|
||||
use conduit::{
|
||||
utils::stream::{BroadbandExt, ReadyExt},
|
||||
PduCount,
|
||||
};
|
||||
use futures::StreamExt;
|
||||
use ruma::{RoomId, UserId};
|
||||
|
||||
@@ -55,7 +58,7 @@ async fn share_encrypted_room(
|
||||
.state_cache
|
||||
.get_shared_rooms(sender_user, user_id)
|
||||
.ready_filter(|&room_id| Some(room_id) != ignore_room)
|
||||
.any(|other_room_id| {
|
||||
.broad_any(|other_room_id| {
|
||||
services
|
||||
.rooms
|
||||
.state_accessor
|
||||
|
||||
Reference in new issue
Block a user