Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Re-use current connection's domain as ping destination instead of accessing config.hosts.domain directly.

paweldomas51c23ae13329
diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js
index 3dc9fb077b..af9ea708f1 100644
--- a/modules/xmpp/xmpp.js
+++ b/modules/xmpp/xmpp.js
@@ -88,7 +88,7 @@ function connect(jid, password) {
console.info("My Jabber ID: " + connection.jid);
// Schedule ping ?
- var pingJid = config.hosts.domain;
+ var pingJid = connection.domain;
connection.ping.hasPingSupport(
pingJid,
function (hasPing) {