Skip to content
Snippets Groups Projects
Commit ed7eec37 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Florob] Don't return non-existant variables. Fixes #5856

parent 91a28dc1
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
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