# HG changeset patch # User Goffi # Date 1562051344 -7200 # Node ID 97a1faca8f583002d83956e073618a30a7f60b5b # Parent 95c774627a95b2ff2c3a1125cc08398e041a764c core (xmpp): fixed URI correction while parsing messages: A double "==" was used instead of a single one. As a result URI was never fixed and some elements could be missed (like body), and then the message discarded. Should fix 294 (to be confirmed). fix 294 diff -r 95c774627a95 -r 97a1faca8f58 sat/core/xmpp.py --- a/sat/core/xmpp.py Sun Jun 30 16:39:42 2019 +0200 +++ b/sat/core/xmpp.py Tue Jul 02 09:09:04 2019 +0200 @@ -971,7 +971,7 @@ message_elt.defaultUri = message_elt.uri = C.NS_CLIENT for c in message_elt.elements(): if c.uri is None: - c.uri == C.NS_CLIENT + c.uri = C.NS_CLIENT elif message_elt.uri != C.NS_CLIENT: log.warning(_( u"received with a wrong namespace: {xml}"