Mercurial > libervia-backend
diff src/plugins/plugin_xep_0297.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 | ad88808591ef |
children | 410e7a940a8b |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0297.py Wed Feb 01 21:44:24 2017 +0100 +++ b/src/plugins/plugin_xep_0297.py Sat Feb 04 17:59:13 2017 +0100 @@ -98,7 +98,7 @@ msg.addChild(forwarded_elt) client = self.host.getClient(profile_key) - return client.xmlstream.send(msg.toXml()) + return client.send(msg.toXml()) class XEP_0297_handler(XMPPHandler):