diff --git a/plugins/converse-rai.js b/plugins/converse-rai.js index 6522f9e890f3701966b3a0082fb99f278743054d..4e6fa734ef4b1cd184c4892ffc86e3b62a72ca31 100644 --- a/plugins/converse-rai.js +++ b/plugins/converse-rai.js @@ -75,13 +75,13 @@ { console.debug("sendMarker", to_jid, id, type); - const stanza = $msg({ + const stanza = converse.env.$msg({ 'from': _converse.connection.jid, 'id': Math.random().toString(36).substr(2,9), 'to': to_jid, 'type': 'chat' }).c(type, { - 'xmlns': Strophe.NS.MARKERS, + 'xmlns': converse.env.Strophe.NS.MARKERS, 'id': id });