Expand description
Acceptance of incoming invites on behalf of local users.
Arrival sites queue an invite from inside the roomβs state lock; the service worker performs the joins once that lock is gone.
Re-exportsΒ§
use std::time::Duration;πuse futures::FutureExt;πuse futures::StreamExt;πuse ruma::OwnedRoomId;πuse ruma::OwnedUserId;πuse ruma::RoomId;πuse ruma::UserId;πuse ruma::events::invite_permission_config::InvitePermission;πuse tokio::time::sleep;πuse tuwunel_core::debug;πuse tuwunel_core::debug;πuse tuwunel_core::debug_warn;πuse tuwunel_core::implement;πuse tuwunel_core::utils::future::ReadyBoolExt;πuse tuwunel_core::utils::future::and5;πuse tuwunel_core::utils::result::LogErr;πuse tuwunel_core::utils::stream::automatic_width;πuse super::Join;πuse super::Service;π
StructsΒ§
- Pending π
- One invite waiting for the worker to act on it.
ConstantsΒ§
- ATTEMPTS π
- Join attempts made before the invite is left for its user to answer.