Skip to main content

Module chat_delegate

Module chat_delegate 

Source

Structs§

ChatDelegateKey
HiddenDmThreadEntry
A single user-driven “hide this DM thread until further notice” entry.
OutboundDmEntry
A single outbound DM the local user composed and sent.
OutboundDmStore
Persistent cache of outbound DM plaintext, keyed by (room_owner_vk, recipient, purge_token) inside each entry.

Enums§

ChatDelegateRequestMsg
Messages sent from the App to the Chat Delegate
ChatDelegateResponseMsg
Responses sent from the Chat Delegate to the App

Constants§

OUTBOUND_DMS_STORAGE_KEY
Delegate storage key for the outbound-DM plaintext cache.

Functions§

is_thread_hidden
Pure helper: should a DM thread for (room, peer) currently be hidden from the left rail?

Type Aliases§

RequestId
Unique identifier for a signing request (for request/response correlation)
RoomKey
Room key identifier (owner’s verifying key bytes)