diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-29 10:39:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-29 10:39:36 +0900 |
| commit | 52feba0e3ac53391c4b29150ed4af9712541aded (patch) | |
| tree | 7de54031ba2b40a44449c1b1872683aaa0880742 /src | |
| parent | :art: (diff) | |
| download | sharkey-52feba0e3ac53391c4b29150ed4af9712541aded.tar.gz sharkey-52feba0e3ac53391c4b29150ed4af9712541aded.tar.bz2 sharkey-52feba0e3ac53391c4b29150ed4af9712541aded.zip | |
Refactor: Use ===
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/api/stream/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts index 05594ac722..9a6c247463 100644 --- a/src/server/api/stream/index.ts +++ b/src/server/api/stream/index.ts @@ -117,7 +117,7 @@ export default class Connection { this.subscribingNotes[payload.id]++; - if (this.subscribingNotes[payload.id] == 1) { + if (this.subscribingNotes[payload.id] === 1) { this.subscriber.on(`noteStream:${payload.id}`, this.onNoteStreamMessage); } |