Skip to main content

check_room_auth

Function check_room_auth 

Source
async fn check_room_auth(
    services: &Services,
    event: &Event,
    state_lock: &RoomMutexGuard,
) -> Result
Expand description

Builds and signs the event against the room’s current state without storing it, refusing one room auth would reject now.

A change to the sender’s own membership skips the check when the server configuration says so.