changeset 5b62751d4930 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=5b62751d4930 description: handle see-other-host at different state of connection (after authentication). Fixes #7179
diffstat:
src/common/connection.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 09a2941b3132 -r 5b62751d4930 src/common/connection.py --- a/src/common/connection.py Fri Aug 10 08:06:41 2012 +0200 +++ b/src/common/connection.py Fri Aug 10 10:43:02 2012 +0200 @@ -855,7 +855,12 @@ # show error dialog self._connection_lost() else: - self.disconnect() + if self.redirected: + self.disconnect(on_purpose=True) + self.connect() + return + else: + self.disconnect() self.on_purpose = False # END disconnectedReconnCB