summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0334/stanza.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0334/stanza.py')
-rw-r--r--slixmpp/plugins/xep_0334/stanza.py30
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'