diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-04 19:34:12 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-04 19:34:12 +0200 |
commit | ffced0ed9a605f30c0ab54d02fe12e5d37eb24a0 (patch) | |
tree | bf5adcbdb9cd15dac648a57631c56e382369d828 /slixmpp/plugins/xep_0334/stanza.py | |
parent | e7248d9af9dd45839565c8e5322e37d55dd5c6d2 (diff) | |
download | slixmpp-ffced0ed9a605f30c0ab54d02fe12e5d37eb24a0.tar.gz slixmpp-ffced0ed9a605f30c0ab54d02fe12e5d37eb24a0.tar.bz2 slixmpp-ffced0ed9a605f30c0ab54d02fe12e5d37eb24a0.tar.xz slixmpp-ffced0ed9a605f30c0ab54d02fe12e5d37eb24a0.zip |
Add a xep-0334 plugin
Diffstat (limited to 'slixmpp/plugins/xep_0334/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0334/stanza.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0334/stanza.py b/slixmpp/plugins/xep_0334/stanza.py new file mode 100644 index 00000000..850fe309 --- /dev/null +++ b/slixmpp/plugins/xep_0334/stanza.py @@ -0,0 +1,30 @@ +""" + slixmpp: The Slick XMPP Library + Implementation of Message Processing Hints + http://xmpp.org/extensions/xep-0334.html + This file is part of slixmpp. + + See the file LICENSE for copying permission. +""" + +from slixmpp.xmlstream import ElementBase + +class Store(ElementBase): + name = 'store' + plugin_attrib = 'store' + namespace = 'urn:xmpp:hints' + +class NoPermanentStore(ElementBase): + name = 'no-permanent-store' + plugin_attrib = 'no-permanent-store' + namespace = 'urn:xmpp:hints' + +class NoStore(ElementBase): + name = 'no-store' + plugin_attrib = 'no-store' + namespace = 'urn:xmpp:hints' + +class NoCopy(ElementBase): + name = 'no-copy' + plugin_attrib = 'no-copy' + namespace = 'urn:xmpp:hints' |