contact.groups is always a list, even if emtpy
This commit is contained in:
parent
205dc155c6
commit
ae55c7149f
|
@ -1252,6 +1252,8 @@ class RosterWindow:
|
||||||
gajim.connections[account].request_subscription(jid, txt)
|
gajim.connections[account].request_subscription(jid, txt)
|
||||||
if group:
|
if group:
|
||||||
group = [group]
|
group = [group]
|
||||||
|
else:
|
||||||
|
group = []
|
||||||
contact = gajim.contacts.get_contact_with_highest_priority(account, jid)
|
contact = gajim.contacts.get_contact_with_highest_priority(account, jid)
|
||||||
if not contact:
|
if not contact:
|
||||||
keyID = ''
|
keyID = ''
|
||||||
|
|
Loading…
Reference in New Issue