Skip to content

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

Fixes exception on follow me command.

yanas76548f1cd0dc
diff --git a/modules/FollowMe.js b/modules/FollowMe.js
index dd9bd39261..2ffd4e812b 100644
--- a/modules/FollowMe.js
+++ b/modules/FollowMe.js
@@ -303,10 +303,10 @@ class FollowMe {
var clickId = null;
if(typeof id !== 'undefined' && !VideoLayout.isPinned(id))
clickId = id;
- else if (typeof id == 'undefined')
+ else if (typeof id == 'undefined' && VideoLayout.getPinnedId())
clickId = VideoLayout.getPinnedId();
- if (clickId !== null)
+ if (clickId)
VideoLayout.handleVideoThumbClicked(clickId);
}