home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0dfbea
)
In TUI ignore confirmations of anything but the nickname field.
master
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 14 Aug 2025 10:29:01 +0000
(12:29 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 14 Aug 2025 10:29:01 +0000
(12:29 +0200)
ircplom/client_tui.py
patch
|
blob
|
history
diff --git
a/ircplom/client_tui.py
b/ircplom/client_tui.py
index aa3b2d81dcb42e8dd7a8a4d590700b2059e052f7..d568a6ce3c3fb7680b9f5ec2923169ac1c28a99a 100644
(file)
--- 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)