Renames isBot -> isFakeParticipant.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user