From dfca5e63be0a7000cde25ef5a279df375c4632e8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 25 Jan 2006 16:27:09 +0000 Subject: [PATCH] ChangeStatusMessageDialog returns None when we press cancel. Fixes #1045 --- src/gajim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index 48b11281a..abd7b1c0d 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1130,7 +1130,7 @@ class Interface: break if ask_message: message = self.roster.get_status_message('online') - if message == -1: + if message == None: return for a in gajim.connections: if gajim.config.get_per('accounts', a, 'autoconnect'):