initiator on transport-info
This commit is contained in:
parent
6402505983
commit
d2fddc2562
|
@ -632,7 +632,7 @@ class JingleSession(object):
|
||||||
attrs = {'action': action,
|
attrs = {'action': action,
|
||||||
'sid': self.sid}
|
'sid': self.sid}
|
||||||
if action == 'session-initiate' or action == 'session-accept' or \
|
if action == 'session-initiate' or action == 'session-accept' or \
|
||||||
action == 'transport-replace':
|
action == 'transport-replace' or action == 'transport-info':
|
||||||
attrs['initiator'] = self.initiator
|
attrs['initiator'] = self.initiator
|
||||||
jingle = stanza.addChild('jingle', attrs=attrs, namespace=xmpp.NS_JINGLE)
|
jingle = stanza.addChild('jingle', attrs=attrs, namespace=xmpp.NS_JINGLE)
|
||||||
if reason is not None:
|
if reason is not None:
|
||||||
|
|
Loading…
Reference in New Issue