diff src/plugins/plugin_sec_otr.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 c0577837680a
line wrap: on
line diff
--- a/src/plugins/plugin_sec_otr.py	Wed Feb 01 21:44:24 2017 +0100
+++ b/src/plugins/plugin_sec_otr.py	Sat Feb 04 17:59:13 2017 +0100
@@ -94,7 +94,7 @@
                      '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