Skip to main content

Module send_server_notice

Module send_server_notice 

Source

FunctionsΒ§

admin_send_server_notice_route πŸ”’
Sends a notice through POST /_synapse/admin/v1/send_server_notice.
admin_send_server_notice_txn_route πŸ”’
Sends a notice through PUT /_synapse/admin/v1/send_server_notice/{txn_id}.
check_existing_txnid πŸ”’
Replays a stored notice response for the requesting user and device.
create_notice_room πŸ”’
Creates a private room whose recipient can read notices but cannot post.
find_notice_room πŸ”’
Finds the first marked room in joined, invited, then left membership order.
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_candidate πŸ”’
Retains a candidate room only when its notice marker can be verified.
notice_power_levels πŸ”’
Reserves posting and room administration for the server identity.
notice_response πŸ”’
Decodes a cached event ID while distinguishing incompatible transaction data.
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.
send_notice πŸ”’
Sends an event from the server identity into the target’s notice room.
send_notice_txn πŸ”’
Sends a new transaction and records its event ID for subsequent retries.