GamendWeb.Api.V1.ChatMuteController (gamend_web v1.0.1215)

Copy Markdown View Source

Scoped chat mutes, applied by a room's own authority.

Authority follows the room and mirrors kick: the lobby host mutes in their lobby, a group admin in their group, the party leader in their party. Like kick, lobby and party actions take no id — the room comes from the caller's lobby_id / party_id.

Global mutes are deliberately absent here: they are server-authoritative and live on the admin API (/api/v1/admin/chat/mutes) or a plugin calling Gamend.Chat.mute_user/4.

Summary

Functions

list_group_mutes(conn, params)

list_lobby_mutes(conn, params)

list_party_mutes(conn, params)

mute_group(conn, params)

mute_lobby(conn, params)

mute_party(conn, params)

open_api_operation(action)

@spec open_api_operation(atom()) :: OpenApiSpex.Operation.t()

shared_security()

shared_tags()

unmute_group(conn, params)

unmute_lobby(conn, params)

unmute_party(conn, params)