Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Taylor <bct@diffeq.com>2007-08-20 12:19:29 +0400
committerBrendan Taylor <bct@diffeq.com>2007-08-20 12:19:29 +0400
commit59b7e83fd5cc7e61e13dc3c47609fa8a102cc966 (patch)
tree495a15c8025abd65ff1066b2dbe1b5df8ae691a0
parent0230c91e4c852ac8b0a0310d8aa3e70c87b65111 (diff)
removed buggy anti-presence-leak test
-rwxr-xr-xsrc/gajim.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/gajim.py b/src/gajim.py
index 3c50acfba..b3770bc9c 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -1770,19 +1770,7 @@ class Interface:
self.dialog.destroy()
return
- contact = gajim.contacts.get_contact(account, jid.getStripped(), jid.getResource())
-
- # 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()
+ continue_with_negotiation()
return