Expand description
This module contains the command handler for displaying chat history.
ConstantsΒ§
- DEFAULT_
HISTORY_ πLIMIT - MAX_
HISTORY_ πLIMIT
FunctionsΒ§
- decrypt_
content π - Decrypts the content of a message.
- format_
direction π - Formats the direction of a message (sent or received).
- format_
timestamp π - Formats a Unix timestamp into a human-readable string.
- lookup_
peer_ πlabel - Looks up a peerβs label (nickname or short Peer ID).
- parse_
limit π - Parses the message limit argument.
- short_
peer π - Returns a shortened string representation of a
PeerId. - show_
history - Displays the message history for a given peer.