Skip to main content

Module state_accessor

Module state_accessor 

Source
Expand description

Reads room-state snapshots and evaluates state-based access policy.

The service resolves current and historical state into typed events. It also centralizes visibility, redaction, erasure, invite, and tombstone decisions.

Modulesยง

erased ๐Ÿ”’
Applies sender-erasure pruning to client and federation event views.
room_state ๐Ÿ”’
Resolves the current state snapshot for a room.
server_can ๐Ÿ”’
Evaluates federation visibility against historical room state.
state ๐Ÿ”’
Reads events and short IDs from a historical room-state snapshot.
user_can ๐Ÿ”’
Evaluates user visibility and event-authoring permissions.

Structsยง

Service
Resolves room state and answers state-based authorization questions.

Functionsยง

plain_text_topic ๐Ÿ”’
Resolves room-topic content to a non-empty plain-text rendering.