summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/old_0004.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-07-19 13:53:41 -0700
committerNathan Fritz <nathan@andyet.net>2010-07-19 13:53:41 -0700
commit130a148d3434b001e24a544022ee4df8597dbe96 (patch)
tree77384d3f49990b2e41dac6717c1ab332adc6e950 /sleekxmpp/plugins/old_0004.py
parent16104b6e56892b65d91abe467b124ca1e86ccfcf (diff)
downloadslixmpp-130a148d3434b001e24a544022ee4df8597dbe96.tar.gz
slixmpp-130a148d3434b001e24a544022ee4df8597dbe96.tar.bz2
slixmpp-130a148d3434b001e24a544022ee4df8597dbe96.tar.xz
slixmpp-130a148d3434b001e24a544022ee4df8597dbe96.zip
added fromXML/getXML compatiblity to the new xep-0004 w/ deprecated warnings
Diffstat (limited to 'sleekxmpp/plugins/old_0004.py')
-rw-r--r--sleekxmpp/plugins/old_0004.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/old_0004.py b/sleekxmpp/plugins/old_0004.py
index 353e7222..263f8b21 100644
--- a/sleekxmpp/plugins/old_0004.py
+++ b/sleekxmpp/plugins/old_0004.py
@@ -21,6 +21,7 @@ from . import base
import logging
from xml.etree import cElementTree as ET
import copy
+import logging
#TODO support item groups and results
class old_0004(base.base_plugin):
@@ -33,6 +34,7 @@ class old_0004(base.base_plugin):
def post_init(self):
base.base_plugin.post_init(self)
self.xmpp.plugin['xep_0030'].add_feature('jabber:x:data')
+ logging.warning("This implementation of XEP-0004 is deprecated.")
def handler_message_xform(self, xml):
object = self.handle_form(xml)