Re-exportsΒ§
use futures::StreamExt;πuse futures::pin_mut;πuse ruma::EventId;πuse ruma::OwnedUserId;πuse ruma::RoomId;πuse ruma::UserId;πuse ruma::events::AnyStrippedStateEvent;πuse ruma::events::AnySyncStateEvent;πuse ruma::events::StateEventType;πuse ruma::events::TimelineEventType::RoomCreate;πuse ruma::events::TimelineEventType::RoomMember;πuse ruma::events::room::member::MembershipState;πuse ruma::serde::Raw;πuse ruma::uint;πuse tuwunel_core::Error;πuse tuwunel_core::Result;πuse tuwunel_core::debug_warn;πuse tuwunel_core::is_equal_to;πuse tuwunel_core::utils::result::LogErr;πuse tuwunel_core::utils::result::NotFound;πuse tuwunel_core::utils::time::now_millis;πuse tuwunel_core::warn;πuse tuwunel_matrix::Event;πuse tuwunel_matrix::PduCount;πuse tuwunel_matrix::pdu::EventHash;πuse tuwunel_matrix::pdu::PduEvent;πuse tuwunel_service::Services;πuse tuwunel_service::users::InviteFilter;πpub use self::v3::calculate_heroes;pub(crate) use self::v3::sync_events_route;πpub(crate) use self::v5::sync_events_v5_route;π
ModulesΒ§
EnumsΒ§
- Timeline
Errors π
FunctionsΒ§
- invite_
permitted π invite_permitted_roomfor a room whose stripped state is in hand.- invite_
permitted_ πroom - MSC4155: whether a stored invite may be served to the invitee.
- invite_
sender π - The sender of the stripped membership event inviting
user_id. - joined_
since π - Whether a userβs join to a room is fresh since a sync token.
- load_
timeline π - load_
timeline_ πfallible - load_
timeline_ πwith_ errors - own_
departure π - The userβs own departure in a left roomβs state, when it holds one.
- share_
encrypted_ πroom - stand_
in_ πleave - Builds a minimal leave event for a left room whose state supplies none.
- strip_
state_ πunsigned - Strips the unsigned fields a state section does not serve.
- timeline_
prev_ πbatch - Returns the backward pagination token for a timeline slice.