Skip to content
Snippets Groups Projects
Verified Commit 786bedff authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

update: fix RAI

parent a7f6cb0a
No related branches found
No related tags found
No related merge requests found
...@@ -75,13 +75,13 @@ ...@@ -75,13 +75,13 @@
{ {
console.debug("sendMarker", to_jid, id, type); console.debug("sendMarker", to_jid, id, type);
const stanza = $msg({ const stanza = converse.env.$msg({
'from': _converse.connection.jid, 'from': _converse.connection.jid,
'id': Math.random().toString(36).substr(2,9), 'id': Math.random().toString(36).substr(2,9),
'to': to_jid, 'to': to_jid,
'type': 'chat' 'type': 'chat'
}).c(type, { }).c(type, {
'xmlns': Strophe.NS.MARKERS, 'xmlns': converse.env.Strophe.NS.MARKERS,
'id': id 'id': id
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment