Simplifying if condition
This commit is contained in:
parent
30811e7702
commit
fd88399938
@ -261,7 +261,7 @@ export class VideoPeer extends Peer {
|
||||
this.closing = true;
|
||||
this.onBlockSubscribe.unsubscribe();
|
||||
this.onUnBlockSubscribe.unsubscribe();
|
||||
if (this.newMessageSubscribtion) this.newMessageSubscribtion.unsubscribe();
|
||||
this.newMessageSubscribtion?.unsubscribe();
|
||||
chatMessagesStore.addOutcomingUser(this.userId);
|
||||
if (this.localStreamStoreSubscribe) this.localStreamStoreSubscribe();
|
||||
if (this.obtainedMediaConstraintStoreSubscribe) this.obtainedMediaConstraintStoreSubscribe();
|
||||
|
Loading…
Reference in New Issue
Block a user