display missing lk participant + fix tile multiplier

This commit is contained in:
Timo
2024-10-30 19:40:14 +01:00
parent 5f8809ce03
commit 3f233a6555
3 changed files with 15 additions and 8 deletions

View File

@@ -406,10 +406,7 @@ export class CallViewModel extends ViewModel {
const indexedMediaId = `${mediaId}:${i}`;
const prevMedia = prevItems.get(indexedMediaId);
if (prevMedia && prevMedia instanceof UserMedia) {
if (
prevMedia.participant.value === undefined &&
participant !== undefined
) {
if (prevMedia.participant.value !== participant) {
// Update the BahviourSubject in the UserMedia.
prevMedia.participant.next(participant);
}
@@ -421,7 +418,7 @@ export class CallViewModel extends ViewModel {
// Once a participant appears we will update the BehaviourSubject. (see above)
prevMedia ??
new UserMedia(
mediaId,
indexedMediaId,
member,
participant,
this.encryptionSystem,