Module history

Module history 

Source
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.