From ae55c7149f0df35f8eeaa184c4e54157bf121677 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 7 Jan 2006 13:26:28 +0000 Subject: [PATCH] contact.groups is always a list, even if emtpy --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index fcffa0062..600084760 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1252,6 +1252,8 @@ class RosterWindow: gajim.connections[account].request_subscription(jid, txt) if group: group = [group] + else: + group = [] contact = gajim.contacts.get_contact_with_highest_priority(account, jid) if not contact: keyID = ''