From 541f5bc0a65db08d70afad26212eaadb982f4884 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 15 Apr 2019 21:59:14 +0900 Subject: [PATCH] Fix bug --- src/server/api/stream/channels/messaging.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/stream/channels/messaging.ts b/src/server/api/stream/channels/messaging.ts index 8397f849f..ce766e28e 100644 --- a/src/server/api/stream/channels/messaging.ts +++ b/src/server/api/stream/channels/messaging.ts @@ -23,7 +23,7 @@ export default class extends Channel { public onMessage(type: string, body: any) { switch (type) { case 'read': - read(this.user!.id, this.otherpartyId, body.id); + read(this.user!.id, this.otherpartyId, [body.id]); break; } }