Skip to content

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

Renames isBot -> isFakeParticipant.

damencho682169e44c1b
diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.js
index 901b846f80..2d5d834800 100644
--- a/modules/UI/shared_video/SharedVideo.js
+++ b/modules/UI/shared_video/SharedVideo.js
@@ -305,7 +305,7 @@ export default class SharedVideoManager {
// JitsiMeetLogStorage.
conference: APP.conference._room,
id: self.url,
- isBot: true,
+ isFakeParticipant: true,
name: 'YouTube'
}));
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index d7271cf7de..1fda015bd3 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -447,7 +447,7 @@ const VideoLayout = {
addRemoteParticipantContainer(participant) {
if (!participant || participant.local) {
return;
- } else if (participant.isBot) {
+ } else if (participant.isFakeParticipant) {
const sharedVideoThumb = new SharedVideoThumb(
participant,
SHARED_VIDEO_CONTAINER_TYPE,
diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.js
index 60e9dfed11..974da3d632 100644
--- a/react/features/base/conference/middleware.js
+++ b/react/features/base/conference/middleware.js
@@ -287,7 +287,7 @@ function _pinParticipant({ getState }, next, action) {
let pin;
if (participantById) {
- pin = !participantById.local && !participantById.isBot;
+ pin = !participantById.local && !participantById.isFakeParticipant;
} else {
const localParticipant = getLocalParticipant(participants);
diff --git a/react/features/base/participants/functions.js b/react/features/base/participants/functions.js
index 3a4db5edb6..ea24a6890b 100644
--- a/react/features/base/participants/functions.js
+++ b/react/features/base/participants/functions.js
@@ -213,7 +213,7 @@ export function getParticipantPresenceStatus(
* @returns {Participant[]}
*/
export function getParticipants(stateful: Object | Function) {
- return _getAllParticipants(stateful).filter(p => !p.isBot);
+ return _getAllParticipants(stateful).filter(p => !p.isFakeParticipant);
}
/**
diff --git a/react/features/base/participants/reducer.js b/react/features/base/participants/reducer.js
index 9dc2f0ff84..ace2cd655f 100644
--- a/react/features/base/participants/reducer.js
+++ b/react/features/base/participants/reducer.js
@@ -183,7 +183,7 @@ function _participantJoined({ participant }) {
connectionStatus,
dominantSpeaker,
email,
- isBot,
+ isFakeParticipant,
local,
name,
pinned,
@@ -217,7 +217,7 @@ function _participantJoined({ participant }) {
dominantSpeaker: dominantSpeaker || false,
email,
id,
- isBot,
+ isFakeParticipant,
local: local || false,
name,
pinned: pinned || false,