From aba2527be490ba56e17ad41fc20c1de47b11c29e Mon Sep 17 00:00:00 2001
From: Dimitur Kirov <dkirov@gmail.com>
Date: Tue, 18 Apr 2006 18:11:18 +0000
Subject: [PATCH] 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

---
 src/roster_window.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/roster_window.py b/src/roster_window.py
index 601628b8c9..0cc30209bc 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2447,6 +2447,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
 
 	def open_event(self, account, jid, event):
 		'''If an event was handled, return True, else return False'''
+		if not event:
+			return False 
 		typ = event[0]
 		data = event[1]
 		ft = gajim.interface.instances['file_transfers']
-- 
GitLab