From 2c8116d5e6d05897f63f9a6d2b87d9dec8fbe874 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 18 Apr 2007 22:41:05 +0000 Subject: [PATCH] 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 --- src/common/connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/connection.py b/src/common/connection.py index 6c4c1ddd0..fbf1992cc 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -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: