diff options
author | Nathan Fritz <fritzy@netflint.net> | 2010-01-15 21:07:28 -0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-01-15 21:07:28 -0800 |
commit | e39a2395d7d5b1490e66316cd46b3f31b787cb37 (patch) | |
tree | 64579f2b44aa6fcf37c18f0029aa4021ade940c2 /sleekxmpp/xmlstream/matcher/stanzapath.py | |
parent | 5345e9a46ba6b862944bcddacd73fba448758109 (diff) | |
download | slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.gz slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.bz2 slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.xz slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.zip |
xep 30 and 50 always reply from jid iq sent to
Diffstat (limited to 'sleekxmpp/xmlstream/matcher/stanzapath.py')
-rw-r--r-- | sleekxmpp/xmlstream/matcher/stanzapath.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/matcher/stanzapath.py b/sleekxmpp/xmlstream/matcher/stanzapath.py new file mode 100644 index 00000000..d036d0b8 --- /dev/null +++ b/sleekxmpp/xmlstream/matcher/stanzapath.py @@ -0,0 +1,7 @@ +from . import base +from xml.etree import cElementTree + +class StanzaPath(base.MatcherBase): + + def match(self, stanza): + return stanza.match(self._criteria) |