Commit 4096ab5d authored by Philipp Hörist's avatar Philipp Hörist

Fix detecting oob data

parent 85bc3896
...@@ -80,7 +80,7 @@ def parse_delay(stanza, epoch=True, convert='utc'): ...@@ -80,7 +80,7 @@ def parse_delay(stanza, epoch=True, convert='utc'):
# XEP-0066: Out of Band Data # XEP-0066: Out of Band Data
def parse_oob(stanza, dict_=None, key='Gajim'): def parse_oob(stanza, dict_=None, key='gajim'):
oob_node = stanza.getTag('x', namespace=nbxmpp.NS_X_OOB) oob_node = stanza.getTag('x', namespace=nbxmpp.NS_X_OOB)
if oob_node is None: if oob_node is None:
return return
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