summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-12-03 17:50:40 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-26 10:05:33 +0100
commit80047cdebe815ea78b6567fd7a1511f221b2f116 (patch)
treed7e3bda7e2782cf43b42762670cb2e41a195f5f9 /src
parent23fa1df9ed6ce39bad81adfaa184f4c66526be98 (diff)
downloadpoezio-80047cdebe815ea78b6567fd7a1511f221b2f116.tar.gz
poezio-80047cdebe815ea78b6567fd7a1511f221b2f116.tar.bz2
poezio-80047cdebe815ea78b6567fd7a1511f221b2f116.tar.xz
poezio-80047cdebe815ea78b6567fd7a1511f221b2f116.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)