[Florob] Don't return non-existant variables. Fixes #5856
This commit is contained in:
parent
91a28dc1ef
commit
ed7eec3798
|
@ -543,6 +543,7 @@ class JingleSession(object):
|
|||
'security-error', 'timeout', 'unsupported-applications',
|
||||
'unsupported-transports']
|
||||
tag = stanza.getTag('reason')
|
||||
text = ''
|
||||
if tag:
|
||||
text = tag.getTagData('text')
|
||||
for r in reasons:
|
||||
|
|
Loading…
Reference in New Issue