Add user id based emoji hash

Helpful in scenarios where you want to disambiguate people based on
their user id at a glance.
This commit is contained in:
Joscha 2025-05-31 13:38:54 +02:00
parent 40de073799
commit 732d462775
11 changed files with 74 additions and 11 deletions

View file

@ -104,6 +104,7 @@ default_bindings! {
pub fn mark_older_seen => ["ctrl+s"];
pub fn info => ["i"];
pub fn links => ["I"];
pub fn toggle_nick_emoji => ["e"];
pub fn increase_caesar => ["c"];
pub fn decrease_caesar => ["C"];
}
@ -356,6 +357,9 @@ pub struct TreeAction {
/// List links found in message.
#[serde(default = "default::tree_action::links")]
pub links: KeyBinding,
/// Toggle agent id based nick emoji.
#[serde(default = "default::tree_action::toggle_nick_emoji")]
pub toggle_nick_emoji: KeyBinding,
/// Increase caesar cipher rotation.
#[serde(default = "default::tree_action::increase_caesar")]
pub increase_caesar: KeyBinding,