Fixes #2241
This commit is contained in:
parent
cb32f6d30a
commit
fcbe84e5a6
1 changed files with 1 additions and 1 deletions
|
@ -2349,7 +2349,7 @@ class MucListTab(Tab):
|
||||||
if iq['type'] == 'error':
|
if iq['type'] == 'error':
|
||||||
self.set_error(iq['error']['type'], iq['error']['code'], iq['error']['text'])
|
self.set_error(iq['error']['type'], iq['error']['code'], iq['error']['text'])
|
||||||
return
|
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],
|
'jid': item[0],
|
||||||
'name': item[2]} for item in iq['disco_items'].get_items()]
|
'name': item[2]} for item in iq['disco_items'].get_items()]
|
||||||
self.listview.add_lines(items)
|
self.listview.add_lines(items)
|
||||||
|
|
Loading…
Reference in a new issue