diff 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
line wrap: on
line diff
--- a/src/core/sat_main.py	Wed Feb 01 21:44:24 2017 +0100
+++ b/src/core/sat_main.py	Sat Feb 04 17:59:13 2017 +0100
@@ -672,7 +672,7 @@
         @param data: message data dictionnary
         @param client: profile's client
         """
-        client.xmlstream.send(data['xml'])
+        client.send(data['xml'])
         return data
 
     def messageAddToHistory(self, data, client):