comparison src/core/sat_main.py @ 2129:6a66c8c5a567

core: replaced calls to client.xmlstream.send by client.send which is the right method to use. client.xmlstream should not be used directly
author Goffi <goffi@goffi.org>
date Sat, 04 Feb 2017 17:59:13 +0100
parents aa94f33fd2ad
children 628c1c95f442
comparison
equal deleted inserted replaced
2128:aa94f33fd2ad 2129:6a66c8c5a567
670 """Actualy send the message to the server 670 """Actualy send the message to the server
671 671
672 @param data: message data dictionnary 672 @param data: message data dictionnary
673 @param client: profile's client 673 @param client: profile's client
674 """ 674 """
675 client.xmlstream.send(data['xml']) 675 client.send(data['xml'])
676 return data 676 return data
677 677
678 def messageAddToHistory(self, data, client): 678 def messageAddToHistory(self, data, client):
679 """Store message into database (for local history) 679 """Store message into database (for local history)
680 680