summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-12-03 17:50:40 +0100
committermathieui <mathieui@mathieui.net>2011-12-03 17:51:22 +0100
commitfcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4 (patch)
treed7e3bda7e2782cf43b42762670cb2e41a195f5f9 /src
parentcb32f6d30a1974f05b5378acc6fe46fcf0d53f4d (diff)
downloadpoezio-fcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4.tar.gz
poezio-fcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4.tar.bz2
poezio-fcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4.tar.xz
poezio-fcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4.zip
Fixes #2241
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 802640b1..06e89f44 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2349,7 +2349,7 @@ class MucListTab(Tab):
if iq['type'] == 'error':
self.set_error(iq['error']['type'], iq['error']['code'], iq['error']['text'])
return
- items = [{'node-part':JID(item[0]).user,
+ items = [{'node-part': JID(item[0]).user if JID(item[0]).server == self.name else JID(item[0]).bare,
'jid': item[0],
'name': item[2]} for item in iq['disco_items'].get_items()]
self.listview.add_lines(items)