re-read resource from config file when we reconnect to server so that if we modified it in maccount modification window it's tacken into account

This commit is contained in:
Yann Leboulanger 2007-04-18 22:41:05 +00:00
parent 353c62bc71
commit 2c8116d5e6
1 changed files with 2 additions and 0 deletions

View File

@ -747,6 +747,8 @@ class Connection(ConnectionHandlers):
# recconect before we auth to server
self.old_show = show
self.on_purpose = False
self.server_resource = gajim.config.get_per('accounts', self.name,
'resource')
self.connect_and_init(show, msg, signed)
elif show == 'offline' and self.connected: