connection type in 'plain', not 'tcp'
This commit is contained in:
parent
dc7d34e471
commit
22239525a2
1 changed files with 1 additions and 1 deletions
|
@ -2043,7 +2043,7 @@ class Interface:
|
||||||
if is_checked[1]:
|
if is_checked[1]:
|
||||||
gajim.config.set_per('accounts', account,
|
gajim.config.set_per('accounts', account,
|
||||||
'warn_when_plaintext_connection', False)
|
'warn_when_plaintext_connection', False)
|
||||||
gajim.connections[account].connection_accepted(data[0], 'tcp')
|
gajim.connections[account].connection_accepted(data[0], 'plain')
|
||||||
def on_cancel():
|
def on_cancel():
|
||||||
del self.instances[account]['online_dialog']['plain_connection']
|
del self.instances[account]['online_dialog']['plain_connection']
|
||||||
gajim.connections[account].disconnect(on_purpose=True)
|
gajim.connections[account].disconnect(on_purpose=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue