Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fixes moderator icon on remote videos.
damenchocb40ab5420e3
diff --git a/conference.js b/conference.jsindex ea59e9e20c..70ac0c0d21 100644--- a/conference.js+++ b/conference.js@@ -296,6 +296,9 @@ export default {console.log('USER %s connnected', id, user);// FIXME email???APP.UI.addUser(id, user.getDisplayName());++ // chek the roles for the new user and reflect them+ APP.UI.updateUserRole(user);});room.on(ConferenceEvents.USER_LEFT, (id, user) => {console.log('USER %s LEFT', id, user);diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex e98a738da5..68c9a30e49 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -426,6 +426,11 @@ UI.updateLocalRole = function (isModerator) {}};+/**+ * Check the role for the user and reflect it in the UI, moderator ui indication+ * and notifies user who is the moderator+ * @param user to check for moderator+ */UI.updateUserRole = function (user) {VideoLayout.showModeratorIndicator();diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex fa592e1227..9d524fe82d 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -384,6 +384,7 @@ var VideoLayout = {/*** Shows a visual indicator for the moderator of the conference.+ * On local or remote participants.*/showModeratorIndicator () {let isModerator = APP.conference.isModerator;