Functionsยง
- cmd_
join - One-shot join subcommand: register username, receive token, write token file.
- read_
cursor - Read the cursor position from disk, returning
Noneif the file is absent or empty. - token_
file_ path - Returns the canonical token file path:
/tmp/room-<room_id>-<username>.token. - username_
from_ token - Look up the username associated with
tokenby scanning stored token files forroom_id. - write_
cursor - Persist the cursor position to disk.