summaryrefslogtreecommitdiff
path: root/slixmpp/features/feature_preapproval/stanza.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/features/feature_preapproval/stanza.py')
-rw-r--r--slixmpp/features/feature_preapproval/stanza.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/slixmpp/features/feature_preapproval/stanza.py b/slixmpp/features/feature_preapproval/stanza.py
new file mode 100644
index 00000000..03d721ef
--- /dev/null
+++ b/slixmpp/features/feature_preapproval/stanza.py
@@ -0,0 +1,17 @@
+"""
+ Slixmpp: The Slick XMPP Library
+ Copyright (C) 2012 Nathanael C. Fritz
+ This file is part of Slixmpp.
+
+ See the file LICENSE for copying permission.
+"""
+
+from slixmpp.xmlstream import ElementBase
+
+
+class PreApproval(ElementBase):
+
+ name = 'sub'
+ namespace = 'urn:xmpp:features:pre-approval'
+ interfaces = set()
+ plugin_attrib = 'preapproval'