mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
Review feedback
This commit is contained in:
@@ -235,11 +235,10 @@ class UserMedia {
|
||||
participant: LocalParticipant | RemoteParticipant | undefined,
|
||||
encryptionSystem: EncryptionSystem,
|
||||
livekitRoom: LivekitRoom,
|
||||
local: boolean,
|
||||
) {
|
||||
this.participant = new BehaviorSubject(participant);
|
||||
|
||||
if (participant?.isLocal || local) {
|
||||
if (participant?.isLocal) {
|
||||
this.vm = new LocalUserMediaViewModel(
|
||||
this.id,
|
||||
member,
|
||||
@@ -504,7 +503,6 @@ export class CallViewModel extends ViewModel {
|
||||
participant,
|
||||
this.encryptionSystem,
|
||||
this.livekitRoom,
|
||||
livekitParticipantId === "local",
|
||||
),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user