diff options
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rwxr-xr-x | sleekxmpp/componentxmpp.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 72111e3c..078a1d3f 100755 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -22,6 +22,14 @@ from __future__ import absolute_import from . basexmpp import basexmpp from xml.etree import cElementTree as ET + +# some servers use different namespaces for components -- this is a hack, but is there for compatibility +import xmlstream.matcher.xmlmask +import xmlstream.matcher.xpath +xmlstream.matcher.xmlmask.ignore_ns = True +xmlstream.matcher.xpath.ignore_ns = True +# ---------- + from . xmlstream.xmlstream import XMLStream from . xmlstream.xmlstream import RestartStream from . xmlstream.matcher.xmlmask import MatchXMLMask |