Replace deprecated CallMembership.sender with userId

This commit is contained in:
Robin
2025-10-14 12:07:51 -04:00
parent bcbf7a90f0
commit 13636b78d9
16 changed files with 61 additions and 63 deletions

View File

@@ -242,7 +242,7 @@ export class Connection {
)
// Pair with their associated LiveKit participant (if any)
.map((membership) => {
const id = `${membership.sender}:${membership.deviceId}`;
const id = `${membership.userId}:${membership.deviceId}`;
const participant = participants.find((p) => p.identity === id);
return { participant, membership };
}),