diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-10 21:12:33 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-10 21:12:33 +0100 |
commit | 0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc (patch) | |
tree | ec3cdd2cb376b2b45a25e0ecb9d1e3cd23ab6004 | |
parent | fde8a8a1c96943a7531f3059eb8976d6894e3681 (diff) | |
download | poezio-0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc.tar.gz poezio-0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc.tar.bz2 poezio-0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc.tar.xz poezio-0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc.zip |
Fixes #2271
-rw-r--r-- | src/core.py | 7 |
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): """ |