remove useless parameter

This commit is contained in:
Yann Leboulanger 2006-02-03 11:20:17 +00:00
parent 941d527187
commit bb4d61c10d
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ _('Without a connection, you can not browse available services')).get_response()
self.address_comboboxentry.set_text_column(0) self.address_comboboxentry.set_text_column(0)
self.latest_addresses = gajim.config.get( self.latest_addresses = gajim.config.get(
'latest_disco_addresses').split() 'latest_disco_addresses').split()
jid = gajim.get_hostname_from_account(self.account, use_srv = False) jid = gajim.get_hostname_from_account(self.account)
if jid in self.latest_addresses: if jid in self.latest_addresses:
self.latest_addresses.remove(jid) self.latest_addresses.remove(jid)
self.latest_addresses.insert(0, jid) self.latest_addresses.insert(0, jid)