Skip to main contentModule notice
Source use futures::FutureExt; π use futures::TryFutureExt; π use futures::future::ready; π use ruma::RoomId; π use ruma::UserId; π use ruma::events::StateEventType; π use ruma::events::tag::TagName; π use tuwunel_core::Result; π use tuwunel_core::utils::BoolExt; π use tuwunel_matrix::Event; π use tuwunel_service::Services; π
- is_notice_creator π
- Matches the immutable create-event sender to the configured server identity.
- is_notice_room π
- Tests whether a room is the target userβs server-notice room.
- notice_tag
- Selects the configured notice tag, falling back when it is empty.
- room_is_notice
- Checks server membership, the targetβs tag, and the immutable room creator.