mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2025-03-14 12:21:06 +02:00
Refactor: Use ===
This commit is contained in:
parent
a1076c3108
commit
52feba0e3a
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export default class Connection {
|
||||||
|
|
||||||
this.subscribingNotes[payload.id]++;
|
this.subscribingNotes[payload.id]++;
|
||||||
|
|
||||||
if (this.subscribingNotes[payload.id] == 1) {
|
if (this.subscribingNotes[payload.id] === 1) {
|
||||||
this.subscriber.on(`noteStream:${payload.id}`, this.onNoteStreamMessage);
|
this.subscriber.on(`noteStream:${payload.id}`, this.onNoteStreamMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue