From cf28d4586d32082f10578770a14eb74a68b902de Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 11 Sep 2012 20:39:32 -0700 Subject: Add support for XEP-0049: Private XML Storage --- sleekxmpp/plugins/xep_0049/stanza.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sleekxmpp/plugins/xep_0049/stanza.py (limited to 'sleekxmpp/plugins/xep_0049/stanza.py') diff --git a/sleekxmpp/plugins/xep_0049/stanza.py b/sleekxmpp/plugins/xep_0049/stanza.py new file mode 100644 index 00000000..d424e2f0 --- /dev/null +++ b/sleekxmpp/plugins/xep_0049/stanza.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.xmlstream import ET, ElementBase + + +class PrivateXML(ElementBase): + + name = 'query' + namespace = 'jabber:iq:private' + plugin_attrib = 'private' + interfaces = set() -- cgit v1.2.3