contact.groups is always a list, even if emtpy

This commit is contained in:
Yann Leboulanger 2006-01-07 13:26:28 +00:00
parent 205dc155c6
commit ae55c7149f
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ''