Add stream feature for server support of subscription pre-approvals.

This commit is contained in:
Lance Stout
2012-07-30 19:30:01 -07:00
parent 8742a56b3e
commit 8009b0485e
5 changed files with 78 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
"""
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2012 Nathanael C. Fritz
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from sleekxmpp.xmlstream import ElementBase
class PreApproval(ElementBase):
name = 'sub'
namespace = 'urn:xmpp:features:pre-approval'
interfaces = set()
plugin_attrib = 'preapproval'