Refactor: Use ===

This commit is contained in:
syuilo 2020-03-29 10:39:36 +09:00
parent f300d4efee
commit 6100b37525

View file

@ -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);
} }