Renames isBot -> isFakeParticipant.
This commit is contained in:
parent
c65ccb0af5
commit
682169e44c
|
@ -305,7 +305,7 @@ export default class SharedVideoManager {
|
|||
// JitsiMeetLogStorage.
|
||||
conference: APP.conference._room,
|
||||
id: self.url,
|
||||
isBot: true,
|
||||
isFakeParticipant: true,
|
||||
name: 'YouTube'
|
||||
}));
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue