Add XEP-0242 plugin for 2010 Client Compliance

This commit is contained in:
Lance Stout 2012-07-30 22:07:49 -07:00
parent 7c6ef18e4f
commit 4c3ff2abab
2 changed files with 22 additions and 0 deletions

View file

@ -60,6 +60,7 @@ __all__ = [
'xep_0223', # Persistent Storage of Private Data via Pubsub 'xep_0223', # Persistent Storage of Private Data via Pubsub
'xep_0224', # Attention 'xep_0224', # Attention
'xep_0231', # Bits of Binary 'xep_0231', # Bits of Binary
'xep_0242', # XMPP Client Compliance 2009
'xep_0249', # Direct MUC Invitations 'xep_0249', # Direct MUC Invitations
'xep_0256', # Last Activity in Presence 'xep_0256', # Last Activity in Presence
'xep_0258', # Security Labels in XMPP 'xep_0258', # Security Labels in XMPP

View file

@ -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)