Skip to content

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

Adds the user agent in the presence.

George Politise8779eeb18c5
diff --git a/muc.js b/muc.js
index 1e510607d8..5884e9aabd 100644
--- a/muc.js
+++ b/muc.js
@@ -354,6 +354,9 @@ Strophe.addConnectionPlugin('emuc', {
pres.c('c', connection.caps.generateCapsAttrs()).up();
}
+ pres.c('user-agent', {xmlns: 'http://jitsi.org/jitmeet/user-agent'})
+ .t(navigator.userAgent).up();
+
if(this.presMap['bridgeIsDown']) {
pres.c('bridgeIsDown').up();
}