summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 3ecf76f2..993b40ca 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1378,7 +1378,12 @@ class Core(object):
else:
tab.own_nick = nick
tab.users = []
- self.enable_private_tabs(room)
+ if tab and tab.joined:
+ self.enable_private_tabs(room)
+ tab.state = "normal"
+ if tab == self.current_tab():
+ tab.refresh()
+ self.doupdate()
def get_bookmark_nickname(self, room_name):
"""