mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
clean up
This commit is contained in:
parent
c7db21e375
commit
1cc72fdd73
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue