Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9900d661be | ||
|
|
369b59a203 |
@@ -34,7 +34,7 @@ export function Avatar({
|
|||||||
}) {
|
}) {
|
||||||
const backgroundColor = useMemo(() => {
|
const backgroundColor = useMemo(() => {
|
||||||
const index = hashStringToArrIndex(
|
const index = hashStringToArrIndex(
|
||||||
bgKey || fallback || src,
|
bgKey || fallback || src || "",
|
||||||
backgroundColors.length
|
backgroundColors.length
|
||||||
);
|
);
|
||||||
return backgroundColors[index];
|
return backgroundColors[index];
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ export function InCallView({
|
|||||||
screenshareFeeds.length === 0 && layout === "spotlight"
|
screenshareFeeds.length === 0 && layout === "spotlight"
|
||||||
? callFeed.userId === activeSpeaker
|
? callFeed.userId === activeSpeaker
|
||||||
: false,
|
: false,
|
||||||
|
isLocal: callFeed.isLocal(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,6 +82,7 @@ export function InCallView({
|
|||||||
id: callFeed.stream.id,
|
id: callFeed.stream.id,
|
||||||
callFeed,
|
callFeed,
|
||||||
focused: true,
|
focused: true,
|
||||||
|
isLocal: callFeed.isLocal(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user