remove useless code
This commit is contained in:
parent
894dbc3e73
commit
6f951d20d0
1 changed files with 1 additions and 4 deletions
|
@ -519,9 +519,6 @@ class Connection(ConnectionHandlers):
|
||||||
if len(self._hosts):
|
if len(self._hosts):
|
||||||
# No config option exist when creating a new account
|
# No config option exist when creating a new account
|
||||||
if self.last_connection_type:
|
if self.last_connection_type:
|
||||||
if self.last_connection_type == 'plain':
|
|
||||||
self._connection_types = ['plain']
|
|
||||||
else:
|
|
||||||
self._connection_types = [self.last_connection_type]
|
self._connection_types = [self.last_connection_type]
|
||||||
elif self.name in gajim.config.get_per('accounts'):
|
elif self.name in gajim.config.get_per('accounts'):
|
||||||
self._connection_types = gajim.config.get_per('accounts', self.name,
|
self._connection_types = gajim.config.get_per('accounts', self.name,
|
||||||
|
|
Loading…
Add table
Reference in a new issue