From: Christian Heller Date: Fri, 19 Sep 2025 19:33:07 +0000 (+0200) Subject: Keep logging relevant only to debugging in debugging windows only. X-Git-Url: https://plomlompom.com/repos/booking/pick_tasks?a=commitdiff_plain;h=6d189b2745c8e1514e2a2379ea12615b3bf7188a;p=ircplom Keep logging relevant only to debugging in debugging windows only. --- diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index b708689..5c0d942 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -212,7 +212,7 @@ class _QueryWindow(_ChatWindow): class _UpdatingChannel(_UpdatingNode, Channel): - log_scopes = {'': LogScope.CHAT} + log_scopes = {'user_ids': LogScope.CHAT, 'topic': LogScope.CHAT} user_ids: set[str] exits: _UpdatingDict[str] diff --git a/test.txt b/test.txt index 3570853..2573a63 100644 --- a/test.txt +++ b/test.txt @@ -188,7 +188,7 @@ 2 < :foo!~foobarbaz@baz.bar.foo JOIN #test 1,2 $ users:me:user set to: [~foobarbaz] 2 < :foo.bar.baz 332 foo #test :foo bar baz -4 $ channels:#test:exits cleared +1,2 $ channels:#test:exits cleared 2 < :foo.bar.baz 333 foo #test bar!~bar@bar.bar 1234567890 4 $ bar!~bar@bar.bar set topic: foo bar baz 2 < :foo.bar.baz 353 foo @ #test :foo @bar