changeset a4cc02820b66 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=a4cc02820b66
description: Avoid insane recursion
diffstat:
src/chat_control.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r dba1920bc533 -r a4cc02820b66 src/chat_control.py
--- a/src/chat_control.py Fri Oct 16 21:48:28 2009 +0200
+++ b/src/chat_control.py Thu Oct 29 10:08:22 2009 +0100
@@ -1594,7 +1594,10 @@
'error': self.JINGLE_STATE_ERROR}
if state in states:
- self.__dict__[jingle_type + '_state'] = states[state]
+ jingle_state = states[state]
+ if self.__dict__[jingle_type + '_state'] ==
jingle_state:
+ return
+ self.__dict__[jingle_type + '_state'] = jingle_state
# Destroy existing session with the user when he signs off
# We need to do that before modifying the sid
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits