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:
parent
353c62bc71
commit
2c8116d5e6
|
@ -747,6 +747,8 @@ class Connection(ConnectionHandlers):
|
||||||
# recconect before we auth to server
|
# recconect before we auth to server
|
||||||
self.old_show = show
|
self.old_show = show
|
||||||
self.on_purpose = False
|
self.on_purpose = False
|
||||||
|
self.server_resource = gajim.config.get_per('accounts', self.name,
|
||||||
|
'resource')
|
||||||
self.connect_and_init(show, msg, signed)
|
self.connect_and_init(show, msg, signed)
|
||||||
|
|
||||||
elif show == 'offline' and self.connected:
|
elif show == 'offline' and self.connected:
|
||||||
|
|
Loading…
Reference in New Issue