Structs§
- Room
Config - Configuration for a room’s access controls and metadata.
- Room
List Entry - Entry returned by room listing (discovery).
Enums§
- Message
- Wire format for all messages stored in the chat file and sent over the socket.
- Room
Visibility - Visibility level for a room, controlling who can discover and join it.
Functions§
- dm_
room_ id - Compute the deterministic room ID for a DM between two users.
- make_
command - make_dm
- make_
join - make_
leave - make_
message - make_
reply - make_
system - parse_
client_ line - Parse a raw line from a client socket. JSON envelope → Message with broker-assigned id/room/ts. Plain text → Message::Message with broker-assigned metadata.
- parse_
mentions - Extract @mentions from message content.