diff src/plugins/plugin_xep_0077.py @ 630:0b914394e74f

core: added advanced list to XMLUI (need improvment, very basic so far) - the advanced list use headers which can be used as columns - in the future, should provide the ability to highly customize list disposition, in a way similar to Amarok 2's playlist.
author Goffi <goffi@goffi.org>
date Sun, 08 Sep 2013 18:05:19 +0200
parents 84a6e83157c2
children 2f8d72226bc0
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0077.py	Sun Sep 08 18:05:19 2013 +0200
+++ b/src/plugins/plugin_xep_0077.py	Sun Sep 08 18:05:19 2013 +0200
@@ -20,7 +20,7 @@
 from logging import debug, info, error
 from twisted.words.protocols.jabber import jid
 from twisted.words.protocols.jabber.xmlstream import IQ
-from sat.tools.xml_tools import dataForm2xml
+from sat.tools.xml_tools import dataForm2XML
 
 from wokkel import data_form
 
@@ -63,7 +63,7 @@
             return
 
         form = data_form.Form.fromElement(x_elem)
-        xml_data = dataForm2xml(form)
+        xml_data = dataForm2XML(form)
         self.host.bridge.actionResult("XMLUI", answer['id'], {"target": answer["from"], "type": "registration", "xml": xml_data}, profile)
 
     def reg_err(self, failure, profile):