Author: asterix Date: 2009-04-08 18:49:09 +0200 (Wed, 08 Apr 2009) New Revision: 11219
Modified: trunk/src/dialogs.py Log: request to add contact when it's in not in roster group and we get a subscription request
Modified: trunk/src/dialogs.py =================================================================== --- trunk/src/dialogs.py 2009-04-08 16:43:34 UTC (rev 11218) +++ trunk/src/dialogs.py 2009-04-08 16:49:09 UTC (rev 11219) @@ -1625,7 +1625,9 @@ '''accept the request''' gajim.connections[self.account].send_authorization(self.jid) self.window.destroy() - if self.jid not in gajim.contacts.get_jid_list(self.account): + contact = gajim.contacts.get_contact(self.account, self.jid) + if not contact or _('Not in Roster') in contact.groups: +# if self.jid not in gajim.contacts.get_jid_list(self.account): AddNewContactWindow(self.account, self.jid, self.user_nick)
def on_contact_info_activate(self, widget):