Auto-accept contents we have created (it would make no sense to refuse it...)
This commit is contained in:
parent
a8bccebfb7
commit
011f4fe142
|
@ -200,6 +200,10 @@ class JingleSession(object):
|
||||||
content.name = name
|
content.name = name
|
||||||
self.contents[(creator, name)] = content
|
self.contents[(creator, name)] = content
|
||||||
|
|
||||||
|
if (creator == 'initiator') == self.weinitiate:
|
||||||
|
# The content is from us, accept it
|
||||||
|
content.accepted = True
|
||||||
|
|
||||||
def remove_content(self, creator, name):
|
def remove_content(self, creator, name):
|
||||||
''' We do not need this now '''
|
''' We do not need this now '''
|
||||||
#TODO:
|
#TODO:
|
||||||
|
|
Loading…
Reference in New Issue