close jingle audio/video request window when we click ok/cancel button is

seesion has been canceled. Fixes #7119
This commit is contained in:
Yann Leboulanger 2012-03-13 14:42:52 +01:00
parent a0a40c03a8
commit 70d2fb435b
1 changed files with 1 additions and 0 deletions

View File

@ -5159,6 +5159,7 @@ class VoIPCallReceivedDialog(object):
session = gajim.connections[self.account].get_jingle_session(self.fjid,
self.sid)
if not session:
dialog.destroy()
return
if response == gtk.RESPONSE_YES:
#TODO: Ensure that ctrl.contact.resource == resource