core: XMLUI now use @property for session_id and submit
This commit is contained in:
parent
3b86e8b106
commit
67df03f7bf
2 changed files with 37 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue