Simplifying if condition
This commit is contained in:
parent
30811e7702
commit
fd88399938
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue