mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-22 21:51:39 +00:00
Fixes
This commit is contained in:
1 parent
1c117507c4
commit
2977d9ed71
2 files changed
+17
-9
No files matched your search
+8
-8
@@ -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
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user