From 4236845608ab7cda012a0ecbc5e0dc45a6598c55 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 21 Nov 2006 21:30:15 +0000 Subject: [PATCH] prevent TB --- src/gajim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index 3395f27aa..75e53e439 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -888,7 +888,7 @@ class Interface: # Get the window and control for the updated status, this may be a # PrivateChatControl control = self.msg_win_mgr.get_control(room_jid, account) - if control.type_id != message_control.TYPE_GC: + if control and control.type_id != message_control.TYPE_GC: return if control: control.chg_contact_status(nick, show, status, array[4], array[5],