0/False 1/True
This commit is contained in:
parent
dfc7638cf5
commit
ef3b60a586
|
@ -723,10 +723,10 @@ class Interface:
|
||||||
|
|
||||||
def autoconnect(self):
|
def autoconnect(self):
|
||||||
'''auto connect at startup'''
|
'''auto connect at startup'''
|
||||||
ask_message = 0
|
ask_message = False
|
||||||
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'):
|
||||||
ask_message = 1
|
ask_message = True
|
||||||
break
|
break
|
||||||
if ask_message:
|
if ask_message:
|
||||||
message = self.roster.get_status_message('online')
|
message = self.roster.get_status_message('online')
|
||||||
|
|
Loading…
Reference in New Issue