Commit 261df4ba authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Jingle: Fix undefined variable

parent 4cd78631
Pipeline #8485 failed with stages
in 3 minutes and 8 seconds
......@@ -445,7 +445,7 @@ def __on_session_info(self, stanza, jingle, error, action):
raise nbxmpp.NodeProcessed
if self.state != JingleStates.ACTIVE:
raise OutOfOrder
for child in payload:
for child in jingle.getChildren():
if child.getName() == 'checksum':
hash_ = child.getTag('file').getTag(name='hash',
namespace=Namespace.HASHES_2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment