From 2977d9ed71ca611153fccbabd13bc48597822bc9 Mon Sep 17 00:00:00 2001 From: zenith <157907903+RFnexus@users.noreply.github.com> Date: Thu, 14 May 2026 16:24:42 -0400 Subject: [PATCH] Fixes --- nomadnet/RRC.py | 16 ++++++++-------- nomadnet/ui/textui/Channels.py | 10 +++++++++- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/nomadnet/RRC.py b/nomadnet/RRC.py index bc1766c..982dbe1 100644 --- a/nomadnet/RRC.py +++ b/nomadnet/RRC.py @@ -745,14 +745,14 @@ class RRCHub: if self_join: if not silent: self._record_system(r, "You joined #"+r) - if self.auto_who: - try: - with self._lock: - self._silent_who_rooms.add(r) - self.send_command("/who "+r, room=r) - except Exception: - with self._lock: - self._silent_who_rooms.discard(r) + if self.auto_who: + try: + with self._lock: + self._silent_who_rooms.add(r) + self.send_command("/who "+r, room=r) + except Exception: + with self._lock: + self._silent_who_rooms.discard(r) self.manager.save() else: joiner = None diff --git a/nomadnet/ui/textui/Channels.py b/nomadnet/ui/textui/Channels.py index 0e62a7c..4043529 100644 --- a/nomadnet/ui/textui/Channels.py +++ b/nomadnet/ui/textui/Channels.py @@ -1503,7 +1503,15 @@ class ChannelsDisplay(): pass def _on_rrc_change(self, hub): - self._wake(self.update_list) + def action(): + self.update_list() + if (self.current_room_widget is not None + and self.current_room_widget.hub is hub): + try: + self.current_room_widget._refresh_users_pane() + except Exception: + pass + self._wake(action) def _on_rrc_message(self, hub, msg): def action():