diff src/plugins/plugin_xep_0050.py @ 798:8f5479f8709a

core: XMLUI now use @property for session_id and submit
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 18:02:40 +0100
parents eac23b1aad90
children 9007bb133009
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0050.py	Tue Feb 04 18:02:37 2014 +0100
+++ b/src/plugins/plugin_xep_0050.py	Tue Feb 04 18:02:40 2014 +0100
@@ -277,7 +277,7 @@
             d = self.requestCommandsList(entity, profile)
 
             def sendItems(xmlui):
-                xmlui.setSessionId(session_id) # we need to keep track of the session
+                xmlui.session_id = session_id # we need to keep track of the session
                 return {'xmlui': xmlui.toXml()}
 
             d.addCallback(sendItems)