Skip to main content

admin_send_server_notice_route

Function admin_send_server_notice_route 

Source
pub(crate) async fn admin_send_server_notice_route(
    __arg0: State<State>,
    body: RumaAdmin<Request>,
) -> Result<Response>
Expand description

Sends a notice through POST /_synapse/admin/v1/send_server_notice.

Sends a server notice into the target user’s system room, creating the room on demand, and returns the sent event’s ID. Server notices are always enabled because tuwunel has no separate enablement setting.