Skip to content
Snippets Groups Projects
Commit 7ae959db authored by Thibg's avatar Thibg
Browse files

Avoid insane recursion

parent 760e0fb4
No related branches found
No related tags found
No related merge requests found
...@@ -1594,7 +1594,10 @@ class ChatControl(ChatControlBase): ...@@ -1594,7 +1594,10 @@ class ChatControl(ChatControlBase):
'error': self.JINGLE_STATE_ERROR} 'error': self.JINGLE_STATE_ERROR}
if state in states: 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 # Destroy existing session with the user when he signs off
# We need to do that before modifying the sid # We need to do that before modifying the sid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment