Mercurial > libervia-backend
diff src/plugins/plugin_xep_0085.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 | 19b9d3f8a6c7 |
children | 1d3f73e065e1 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0085.py Wed Feb 01 21:44:24 2017 +0100 +++ b/src/plugins/plugin_xep_0085.py Sat Feb 04 17:59:13 2017 +0100 @@ -373,7 +373,7 @@ } self.host.generateMessageXML(mess_data) mess_data['xml'].addElement(state, NS_CHAT_STATES) - client.xmlstream.send(mess_data['xml']) + client.send(mess_data['xml']) self.state = state try: