Mercurial > libervia-backend
diff src/plugins/plugin_xep_0249.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 | 48536a22b599 |
children | 6e509ee853a8 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0249.py Wed Feb 01 21:44:24 2017 +0100 +++ b/src/plugins/plugin_xep_0249.py Sat Feb 04 17:59:13 2017 +0100 @@ -119,7 +119,7 @@ log.warning(u"Ignoring invalid invite option: {}".format(key)) continue x_elt[key] = value - client.xmlstream.send(message) + client.send(message) def _accept(self, room_jid, profile_key=C.PROF_KEY_NONE): """Accept the invitation to join a MUC.