From bb5a68d3e8cfc8c646d9e45c502758be33426fa5 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 14 Aug 2025 12:29:01 +0200 Subject: [PATCH] In TUI ignore confirmations of anything but the nickname field. --- ircplom/client_tui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index aa3b2d8..d568a6c 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -176,7 +176,8 @@ class _ClientWindowsManager: 'Apply settings in kwargs, follow representation update triggers.' changes = self._db.set(key, value, confirmed) for i, t in enumerate((('', value), ('confirmation of ', confirmed))): - if changes[i]: + if changes[i] and (i == 0 # re confirms only care about nickname + or key == 'nickname'): announcement = f'changing {t[0]}{key} to:' if isinstance(t[1], list): self.log(announcement, scope=scope) -- 2.30.2