From 054b388224dafad5244e14e7d89ef431f47f455f Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 1 Apr 2020 14:33:54 +0200 Subject: [PATCH] Mark the message as seen --- src/controllers/UserWebSocketActions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/UserWebSocketActions.ts b/src/controllers/UserWebSocketActions.ts index 2d503df..459c08f 100644 --- a/src/controllers/UserWebSocketActions.ts +++ b/src/controllers/UserWebSocketActions.ts @@ -105,6 +105,7 @@ export class UserWebSocketActions { data: ConversationsController.ConversationMessageToAPI(msg) })); + await ConversationsHelper.MarkUserSeen(msg.convID, client.userID); } }