Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 3dd8be2

Browse files
hide mixer on Android (#41)
1 parent 54ba275 commit 3dd8be2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/mobile/src/hooks/useParticipants.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ const useParticipants = () => {
2121

2222
const participants = useMemo(() => {
2323
return rawParticipants.filter(
24-
(p) => p.status && DISPLAYED_STATUSES.includes(p.status) && p.type?.toUpperCase() !== 'MIXER',
24+
(p) =>
25+
p.status &&
26+
DISPLAYED_STATUSES.includes(p.status) &&
27+
p.type?.toUpperCase() !== 'MIXER' &&
28+
p.type?.toUpperCase() !== 'UNKNOWN',
2529
);
2630
}, [rawParticipants]);
2731

0 commit comments

Comments
 (0)