summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-30 22:07:49 -0700
committerLance Stout <lancestout@gmail.com>2012-07-30 22:07:49 -0700
commit4c3ff2abab4b0e5f17e258fff8ae46f9f02856db (patch)
tree1db245659695d8ac643dc854d4832221a83132f7 /sleekxmpp/plugins
parent7c6ef18e4f953db6bc596c3729f1e286bd7acb8d (diff)
downloadslixmpp-4c3ff2abab4b0e5f17e258fff8ae46f9f02856db.tar.gz
slixmpp-4c3ff2abab4b0e5f17e258fff8ae46f9f02856db.tar.bz2
slixmpp-4c3ff2abab4b0e5f17e258fff8ae46f9f02856db.tar.xz
slixmpp-4c3ff2abab4b0e5f17e258fff8ae46f9f02856db.zip
Add XEP-0242 plugin for 2010 Client Compliance
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/__init__.py1
-rw-r--r--sleekxmpp/plugins/xep_0242.py21
2 files changed, 22 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/__init__.py b/sleekxmpp/plugins/__init__.py
index 688da095..e76a4318 100644
--- a/sleekxmpp/plugins/__init__.py
+++ b/sleekxmpp/plugins/__init__.py
@@ -60,6 +60,7 @@ __all__ = [
'xep_0223', # Persistent Storage of Private Data via Pubsub
'xep_0224', # Attention
'xep_0231', # Bits of Binary
+ 'xep_0242', # XMPP Client Compliance 2009
'xep_0249', # Direct MUC Invitations
'xep_0256', # Last Activity in Presence
'xep_0258', # Security Labels in XMPP
diff --git a/sleekxmpp/plugins/xep_0242.py b/sleekxmpp/plugins/xep_0242.py
new file mode 100644
index 00000000..c1bada27
--- /dev/null
+++ b/sleekxmpp/plugins/xep_0242.py
@@ -0,0 +1,21 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout
+ This file is part of SleekXMPP.
+
+ See the file LICENSE for copying permission.
+"""
+
+from sleekxmpp.plugins import BasePlugin, register_plugin
+
+
+class XEP_0242(BasePlugin):
+
+ name = 'xep_0242'
+ description = 'XEP-0242: XMPP Client Compliance 2009'
+ dependencies = set(['xep_0030', 'xep_0115', 'xep_0054',
+ 'xep_0045', 'xep_0085', 'xep_0016',
+ 'xep_0191'])
+
+
+register_plugin(XEP_0242)