ChangeStatusMessageDialog returns None when we press cancel. Fixes #1045

This commit is contained in:
Yann Leboulanger 2006-01-25 16:27:09 +00:00
parent 53430cbc7c
commit dfca5e63be
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ class Interface:
break break
if ask_message: if ask_message:
message = self.roster.get_status_message('online') message = self.roster.get_status_message('online')
if message == -1: if message == None:
return return
for a in gajim.connections: for a in gajim.connections:
if gajim.config.get_per('accounts', a, 'autoconnect'): if gajim.config.get_per('accounts', a, 'autoconnect'):