Adds the user agent in the presence.
This commit is contained in:
parent
a1624138fe
commit
e8779eeb18
3
muc.js
3
muc.js
|
@ -354,6 +354,9 @@ Strophe.addConnectionPlugin('emuc', {
|
||||||
pres.c('c', connection.caps.generateCapsAttrs()).up();
|
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']) {
|
if(this.presMap['bridgeIsDown']) {
|
||||||
pres.c('bridgeIsDown').up();
|
pres.c('bridgeIsDown').up();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue