Skip to content

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

Recognizes focus user. Adds missing semicolons.

paweldomas1729f7e17eae
diff --git a/app.js b/app.js
index 96420bbed4..5d6d2b210d 100644
--- a/app.js
+++ b/app.js
@@ -765,17 +765,18 @@ $(document).bind('joined.muc', function (event, jid, info) {
$(document).bind('entered.muc', function (event, jid, info, pres) {
console.log('entered', jid, info);
- messageHandler.notify(info.displayName || 'Somebody',
- 'connected',
- 'connected');
-
if (info.isFocus)
{
focusJid = jid;
console.info("Ignore focus: " + jid +", real JID: " + info.jid);
+ messageHandler.notify('Focus', 'connected', 'connected');
return;
}
+ messageHandler.notify(info.displayName || 'Somebody',
+ 'connected',
+ 'connected');
+
// Add Peer's container
var id = $(pres).find('>userID').text();
var email = $(pres).find('>email');
diff --git a/videolayout.js b/videolayout.js
index 98b137e226..d67c13d241 100644
--- a/videolayout.js
+++ b/videolayout.js
@@ -23,7 +23,7 @@ var VideoLayout = (function (my) {
my.changeLocalStream = function (stream) {
connection.jingle.localAudio = stream;
VideoLayout.changeLocalVideo(stream, true);
- }
+ };
my.changeLocalAudio = function(stream) {
connection.jingle.localAudio = stream;