connection type in 'plain', not 'tcp'

This commit is contained in:
Yann Leboulanger 2009-01-14 18:14:20 +00:00
parent dc7d34e471
commit 22239525a2
1 changed files with 1 additions and 1 deletions

View File

@ -2043,7 +2043,7 @@ class Interface:
if is_checked[1]:
gajim.config.set_per('accounts', account,
'warn_when_plaintext_connection', False)
gajim.connections[account].connection_accepted(data[0], 'tcp')
gajim.connections[account].connection_accepted(data[0], 'plain')
def on_cancel():
del self.instances[account]['online_dialog']['plain_connection']
gajim.connections[account].disconnect(on_purpose=True)