Add Whisper Verlauf dialog and complete the Selbst menu

Whisper Verlauf logs outgoing whisper-target changes with timestamps
(incoming-whisper detection isn't observable yet, so it's outgoing-only
for now). The Selbst menu now wires Abwesend/Mikrofon/Lautsprecher to
the existing toolbar actions and adds a real nickname-change flow,
backed by a new "nickname" connector command using tsclientlib's
existing client_update().set_name().
This commit is contained in:
Moepchi committed 2026-08-04 18:14:04 +02:00
1 parent a0ede4a12a
commit f5cb4dd160
6 files changed
+346 -14

No files matched your search

+5
View File
@@ -587,6 +587,11 @@ async fn run(args: Args) -> Result<()> {
if let Err(e) = part.send(&mut con) {
emit(&Event::Error { message: e.to_string() });
}
} else if let Some(rest) = l.strip_prefix("nickname ") {
let part = con.get_state()?.client_update().set_name(rest.trim());
if let Err(e) = part.send(&mut con) {
emit(&Event::Error { message: e.to_string() });
}
} else if let Some(rest) = l.strip_prefix("whisper ") {
// Format: "whisper <channelId,channelId,...>;<clientId,clientId,...>"
// (either side may be empty, e.g. "whisper 5;" or "whisper ;12,13").