diff plugins/plugin_xep_0077.py @ 103:6be927a465ed

XMLUI refactoring, step 1
author Goffi <goffi@goffi.org>
date Wed, 23 Jun 2010 00:23:26 +0800
parents 94011f553cd0
children 06985b6ad23a
line wrap: on
line diff
--- a/plugins/plugin_xep_0077.py	Tue Jun 22 13:58:53 2010 +0800
+++ b/plugins/plugin_xep_0077.py	Wed Jun 23 00:23:26 2010 +0800
@@ -68,7 +68,7 @@
         
         form = data_form.Form.fromElement(x_elem)
         xml_data = dataForm2xml(form)
-        self.host.bridge.actionResult("FORM", answer['id'], {"target":answer["from"], "type":"registration", "xml":xml_data})
+        self.host.bridge.actionResult("XMLUI", answer['id'], {"target":answer["from"], "type":"registration", "xml":xml_data})
 
     def reg_err(self, failure):
         """Called when something is wrong with registration"""