Renames isBot -> isFakeParticipant.

This commit is contained in:
damencho
2018-06-22 18:23:17 -05:00
committed by Hristo Terezov
parent c65ccb0af5
commit 682169e44c
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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);
}
/**
+2 -2
View File
@@ -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,