Skip to content
Snippets Groups Projects
Commit 91a28dc1 authored by Thibg's avatar Thibg
Browse files

[jingle] JingleSession.remove_content: don't send session-terminate

parent e0ffa2d2
No related branches found
No related tags found
No related merge requests found
......@@ -192,11 +192,8 @@ class JingleSession(object):
"""
if (creator, name) in self.contents:
content = self.contents[(creator, name)]
if len(self.contents) > 1:
self.__content_remove(content, reason)
self.__content_remove(content, reason)
self.contents[(creator, name)].destroy()
if not self.contents:
self.end_session()
def modify_content(self, creator, name, *someother):
"""
......
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