From 786bedff56f3704911ed2ef316bc8036ee5e9244 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Wed, 6 May 2020 19:03:32 +0200
Subject: [PATCH] update: fix RAI

---
 plugins/converse-rai.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/converse-rai.js b/plugins/converse-rai.js
index 6522f9e..4e6fa73 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
         });
 
-- 
GitLab