]> code.delx.au - pymsnt/blobdiff - src/jabw.py
Fixed tel:+ jid being invalid. Added cache to (hopefully) speed things up.
[pymsnt] / src / jabw.py
index 71058369d1af6894f39ce9ba19db1b87a6876064..755b49a716540a11506f8176429c7b719c1c9774 100644 (file)
@@ -82,9 +82,9 @@ def sendErrorMessage(pytrans, to, fro, etype, condition, explanation, body=None)
        error.attributes["type"] = etype
        error.attributes["code"] = str(utils.errorCodeMap[condition])
        desc = error.addElement(condition)
-       desc.attributes["xmlns"] = XMPP_STANZAS
+       desc.attributes["xmlns"] = disco.XMPP_STANZAS
        text = error.addElement("text")
-       text.attributes["xmlns"] = XMPP_STANZAS
+       text.attributes["xmlns"] = disco.XMPP_STANZAS
        text.addContent(explanation)
        if(body and len(body) > 0):
                b = el.addElement("body")