From a6ca6701a00337fa500340945d6e6065ba937b40 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 25 Sep 2012 12:35:53 -0700 Subject: Add XEP-0308 Last Message Correction support --- sleekxmpp/plugins/xep_0308/stanza.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sleekxmpp/plugins/xep_0308/stanza.py (limited to 'sleekxmpp/plugins/xep_0308/stanza.py') diff --git a/sleekxmpp/plugins/xep_0308/stanza.py b/sleekxmpp/plugins/xep_0308/stanza.py new file mode 100644 index 00000000..8f88cbc0 --- /dev/null +++ b/sleekxmpp/plugins/xep_0308/stanza.py @@ -0,0 +1,16 @@ +""" + 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 permissio +""" + +from sleekxmpp.xmlstream import ElementBase + + +class Replace(ElementBase): + name = 'replace' + namespace = 'urn:xmpp:message-correct:0' + plugin_attrib = 'replace' + interfaces = set(['id']) -- cgit v1.2.3