Ecto schema for the chat_mutes table — a silenced chat sender.
expires_at is nil for a permanent mute; scope_ref_id is nil for a
"global" mute and required otherwise.
Scopes
"global"— every chat type, including friend DMs. Admin/plugin only."lobby"/"group"/"party"— that room only.scope_ref_idis the lobby, group or party id, and the room's own authority (host, group admin, party leader) may set it.
Summary
Types
Functions
@spec scopes() :: [String.t()]
The scopes a mute may have.