core: replaced calls to client.xmlstream.send by client.send which is the right method to use. client.xmlstream should not be used directly
This commit is contained in:
parent
115f5ae0e1
commit
6467bdb3c3
14 changed files with 54 additions and 58 deletions
|
|
@ -94,7 +94,7 @@ class Context(potr.context.Context):
|
|||
'timestamp': time.time(),
|
||||
}
|
||||
self.host.generateMessageXML(mess_data)
|
||||
client.xmlstream.send(mess_data['xml'])
|
||||
client.send(mess_data['xml'])
|
||||
|
||||
def setState(self, state):
|
||||
client = self.user.client
|
||||
|
|
|
|||
Loading…
Reference in a new issue