Author: bct Date: 2007-08-20 10:19:29 +0200 (Mon, 20 Aug 2007) New Revision: 8512
Modified: branches/e2e_encryption/src/gajim.py Log: removed buggy anti-presence-leak test
Modified: branches/e2e_encryption/src/gajim.py =================================================================== --- branches/e2e_encryption/src/gajim.py 2007-08-20 08:16:48 UTC (rev 8511) +++ branches/e2e_encryption/src/gajim.py 2007-08-20 08:19:29 UTC (rev 8512) @@ -1770,20 +1770,8 @@ self.dialog.destroy() return
- contact = gajim.contacts.get_contact(account, jid.getStripped(), jid.getResource()) + continue_with_negotiation()
- # FIXME: shouldn't prompt if i don't have a subscription for remote but - # he has one for me. get_contact() returns None in this case? - if gajim.SHOW_LIST[gajim.connections[account].connected] == 'invisible' or not contact or\ - contact.sub not in ('from', 'both'): - self.dialog = dialogs.YesNoDialog(_('Start session?'), - _('''%s would like to start a session with you. Should I respond?''') % jid, - on_response_yes = continue_with_negotiation, - on_response_no = ignore_negotiation, - ) - else: - continue_with_negotiation() - return
# alice accepts