We do not need to check that, it's already done in conn_handlers._MucAdminCB()
This commit is contained in:
parent
5689daf66b
commit
5742d2e1e7
|
@ -2504,7 +2504,6 @@ class GroupchatConfigWindow:
|
||||||
def affiliation_list_received(self, list):
|
def affiliation_list_received(self, list):
|
||||||
'''Fill the affiliation treeview'''
|
'''Fill the affiliation treeview'''
|
||||||
for jid in list:
|
for jid in list:
|
||||||
if list[jid].has_key('affiliation'):
|
|
||||||
affiliation = list[jid]['affiliation']
|
affiliation = list[jid]['affiliation']
|
||||||
if affiliation not in self.affiliation_labels.keys():
|
if affiliation not in self.affiliation_labels.keys():
|
||||||
# Unknown affiliation or 'none' affiliation, do not show it
|
# Unknown affiliation or 'none' affiliation, do not show it
|
||||||
|
|
Loading…
Reference in New Issue