fix for #1869. More compound one will include

removing of notification windows, but I guess
it is not a good idea to do it for 0.10
This commit is contained in:
Dimitur Kirov 2006-04-18 18:11:18 +00:00
parent 3a27a78e36
commit aba2527be4
1 changed files with 2 additions and 0 deletions

View File

@ -2447,6 +2447,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
def open_event(self, account, jid, event): def open_event(self, account, jid, event):
'''If an event was handled, return True, else return False''' '''If an event was handled, return True, else return False'''
if not event:
return False
typ = event[0] typ = event[0]
data = event[1] data = event[1]
ft = gajim.interface.instances['file_transfers'] ft = gajim.interface.instances['file_transfers']