summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-24 05:55:36 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-24 05:55:36 +0000
commite1ed45ae5f4583c98fa32ac80349eaa59933f756 (patch)
treefe64d73aa1dae1eff334bc467c8dbcacb95ad0d4
parentd3dc3ef251aba4199fe939a9a4cce97fde5e4b0a (diff)
downloadpoezio-e1ed45ae5f4583c98fa32ac80349eaa59933f756.tar.gz
poezio-e1ed45ae5f4583c98fa32ac80349eaa59933f756.tar.bz2
poezio-e1ed45ae5f4583c98fa32ac80349eaa59933f756.tar.xz
poezio-e1ed45ae5f4583c98fa32ac80349eaa59933f756.zip
error are also displayed in non-muc rooms. fixed #2028
-rw-r--r--src/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 921a42cd..82fae234 100644
--- a/src/core.py
+++ b/src/core.py
@@ -85,7 +85,6 @@ class Core(object):
else RosterInfoTab(self)
default_tab.on_gain_focus()
self.tabs = [default_tab]
- # self.roster = Roster()
# a unique buffer used to store global informations
# that are displayed in almost all tabs, in an
# information window.
@@ -421,7 +420,7 @@ class Core(object):
# Differentiate both type of messages, and call the appropriate handler.
jid_from = message['from']
for tab in self.tabs:
- if isinstance(tab, MucTab) and tab.get_name() == jid_from.bare: # check all the MUC we are in
+ if tab.get_name() == jid_from.full: # check all the MUC we are in
if message['type'] == 'error':
return self.room_error(message, tab.get_room().name)
else: