Skip to main content

create_notice_room

Function create_notice_room 

Source
async fn create_notice_room(
    services: &Services,
    target: &UserId,
) -> Result<OwnedRoomId>
Expand description

Creates a private room whose recipient can read notices but cannot post.

Initial state is appended in authorization order before the target’s room tag is written. Invitation is left to the caller after the room lock is released.