summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-06-22 21:26:25 -0700
committerLance Stout <lancestout@gmail.com>2012-06-22 21:26:25 -0700
commitb11e1ee92d4c81fc3943c376477aa8be2a8aa0e6 (patch)
tree7a7b78c6d00f3893d42defa25c9c8e60c90d8305
parent5027d00c109ed02b79e9c985077674f6dfd42766 (diff)
downloadslixmpp-b11e1ee92d4c81fc3943c376477aa8be2a8aa0e6.tar.gz
slixmpp-b11e1ee92d4c81fc3943c376477aa8be2a8aa0e6.tar.bz2
slixmpp-b11e1ee92d4c81fc3943c376477aa8be2a8aa0e6.tar.xz
slixmpp-b11e1ee92d4c81fc3943c376477aa8be2a8aa0e6.zip
Add meta plugin for XEP-0270, 2010 compliance suite.
Registering this plugin will load the plugins required for advanced client compliance status.
-rw-r--r--sleekxmpp/plugins/__init__.py1
-rw-r--r--sleekxmpp/plugins/xep_0270.py17
2 files changed, 18 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/__init__.py b/sleekxmpp/plugins/__init__.py
index 8464f0cb..5aa48a47 100644
--- a/sleekxmpp/plugins/__init__.py
+++ b/sleekxmpp/plugins/__init__.py
@@ -58,4 +58,5 @@ __all__ = [
'xep_0249', # Direct MUC Invitations
'xep_0256', # Last Activity in Presence
'xep_0258', # Security Labels in XMPP
+ 'xep_0270', # XMPP Compliance Suites 2010
]
diff --git a/sleekxmpp/plugins/xep_0270.py b/sleekxmpp/plugins/xep_0270.py
new file mode 100644
index 00000000..41ccd73b
--- /dev/null
+++ b/sleekxmpp/plugins/xep_0270.py
@@ -0,0 +1,17 @@
+"""
+ 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
+
+
+class XEP_0270(BasePlugin):
+
+ name = 'xep_0270'
+ description = 'XEP-0270: XMPP Compliance Suites 2010'
+ dependencies = set(['xep_0030', 'xep_0115', 'xep_0054',
+ 'xep_0163', 'xep_0045', 'xep_0085'])