This commit is contained in:
tamaina 2021-09-12 01:18:17 +09:00
parent c7db21e375
commit 1cc72fdd73

View file

@ -19,7 +19,7 @@ export default class extends Channel {
this.channelId = params.channelId as string;
// Subscribe stream
this.subscriber.on('notesStream', e => this.onNote(e));
this.subscriber.on('notesStream', this.onNote);
this.subscriber.on(`channelStream:${this.channelId}`, this.onEvent);
this.emitTypersIntervalId = setInterval(this.emitTypers, 5000);
}