fix(server): fix bind of method

Fix #9006
This commit is contained in:
syuilo 2022-07-16 19:03:41 +09:00 committed by GitHub
parent 4bdba1f0ea
commit 14463b7cbf

View file

@ -16,6 +16,7 @@ export default class extends Channel {
constructor(id: string, connection: Channel['connection']) {
super(id, connection);
this.onNote = this.onNote.bind(this);
this.emitTypers = this.emitTypers.bind(this);
}
public async init(params: any) {