xmpp-discord-bridge/xmpp_discord_bridge/slixmpp/oob.py

12 lines
259 B
Python
Raw Normal View History

2021-09-15 20:33:59 +00:00
from slixmpp.xmlstream import ElementBase
class OOBData(ElementBase):
"""
XEP-0066 OOB data element for messages
"""
name = "x"
namespace = "jabber:x:oob"
plugin_attrib = "oob"
interfaces = {"url"}
sub_interfaces = interfaces