ChangeStatusMessageDialog returns None when we press cancel. Fixes #1045
This commit is contained in:
parent
53430cbc7c
commit
dfca5e63be
|
@ -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'):
|
||||||
|
|
Loading…
Reference in New Issue