Skip to content
Snippets Groups Projects
Commit 62d504da authored by Dele Olajide's avatar Dele Olajide
Browse files

Fix Converse RAI - $msg is not defined (#144)

parent a7f6cb0a
No related branches found
No related tags found
1 merge request!25Fix Converse RAI - $msg is not defined (#144)
...@@ -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