From c1c8c9c37c939000e12b6b711539325d7780d745 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Jul 2022 19:03:41 +0900 Subject: [PATCH] fix(server): fix bind of method Fix #9006 --- packages/backend/src/server/api/stream/channels/channel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/stream/channels/channel.ts b/packages/backend/src/server/api/stream/channels/channel.ts index 5148cfd055..3cdd89a8b3 100644 --- a/packages/backend/src/server/api/stream/channels/channel.ts +++ b/packages/backend/src/server/api/stream/channels/channel.ts @@ -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) {