Added XEP-0066: Out-of-Band Data
This commit is contained in:
33
sleekxmpp/plugins/xep_0066/stanza.py
Normal file
33
sleekxmpp/plugins/xep_0066/stanza.py
Normal file
@@ -0,0 +1,33 @@
|
||||
"""
|
||||
SleekXMPP: The Sleek XMPP Library
|
||||
Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout
|
||||
This file is part of SleekXMPP.
|
||||
|
||||
See the file LICENSE for copying permission.
|
||||
"""
|
||||
|
||||
from sleekxmpp.xmlstream import ElementBase
|
||||
|
||||
|
||||
class OOBTransfer(ElementBase):
|
||||
|
||||
"""
|
||||
"""
|
||||
|
||||
name = 'query'
|
||||
namespace = 'jabber:iq:oob'
|
||||
plugin_attrib = 'oob_transfer'
|
||||
interfaces = set(('url', 'desc', 'sid'))
|
||||
sub_interfaces = set(('url', 'desc'))
|
||||
|
||||
|
||||
class OOB(ElementBase):
|
||||
|
||||
"""
|
||||
"""
|
||||
|
||||
name = 'x'
|
||||
namespace = 'jabber:x:oob'
|
||||
plugin_attrib = 'oob'
|
||||
interfaces = set(('url', 'desc'))
|
||||
sub_interfaces = interfaces
|
Reference in New Issue
Block a user