changeset 2b5c4d7144de in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=2b5c4d7144de
description: visibly disconnect when loosing connection. Fixes #7091
diffstat:
src/common/connection.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 9b845a49e621 -r 2b5c4d7144de src/common/connection.py
--- a/src/common/connection.py Tue Feb 07 20:46:42 2012 +0100
+++ b/src/common/connection.py Wed Feb 08 22:06:29 2012 -0500
@@ -821,6 +821,9 @@
if not (self.sm and self.sm.resumption):
gajim.nec.push_incoming_event(OurShowEvent(None, conn=self,
show='offline'))
+ else:
+ gajim.nec.push_incoming_event(OurShowEvent(None, conn=self,
+ show='error'))
self.disconnect()
if gajim.config.get_per('accounts', self.name, 'autoreconnect'):
self.connected = -1
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits