core: XMLUI now use @property for session_id and submit

This commit is contained in:
Goffi 2014-02-04 18:02:40 +01:00
commit 67df03f7bf
2 changed files with 37 additions and 9 deletions

View file

@ -277,7 +277,7 @@ class XEP_0050(object):
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)