Expand description
Room push-rule migration helpers.
The module carries a room-specific push rule to a successor room while preserving user choices. Shared account-data limits are enforced before the replacement ruleset is stored.
Re-exportsยง
use ruma::RoomId;๐use ruma::UserId;๐use ruma::events::GlobalAccountDataEventType;๐use ruma::events::push_rules::PushRulesEvent;๐use ruma::push::AnyPushRuleRef;๐use ruma::push::NewPushRule;๐use ruma::push::NewSimplePushRule;๐use ruma::push::RuleKind;๐use tuwunel_core::Result;๐use tuwunel_core::debug_warn;๐use tuwunel_core::err;๐use tuwunel_core::implement;๐use tuwunel_core::utils::json::serialized_len;๐use super::MAX_RULE_BYTES;๐use super::admits_rule;๐