decline request of an unknown file
This commit is contained in:
parent
b20e054d55
commit
d8978f7a08
|
@ -214,3 +214,5 @@ class JingleContent(object):
|
|||
def destroy(self):
|
||||
self.callbacks = None
|
||||
del self.session.contents[(self.creator, self.name)]
|
||||
|
||||
|
||||
|
|
|
@ -527,6 +527,7 @@ class JingleSession(object):
|
|||
log.warning('The peer ' + self.peerjid + \
|
||||
' is requesting a ' + \
|
||||
'file that we dont have')
|
||||
self.decline_session()
|
||||
# If there's no content we understand...
|
||||
if not contents:
|
||||
# TODO: http://xmpp.org/extensions/xep-0166.html#session-terminate
|
||||
|
|
Loading…
Reference in New Issue