From e9f4e28b3dce47e90c9dc3a29387f7f8f9a7e685 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Mon, 22 Aug 2022 18:13:30 -0400 Subject: [PATCH] Properly mark story messages as read locally --- ts/state/ducks/stories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/ducks/stories.ts b/ts/state/ducks/stories.ts index bc6d89774..3158efe2d 100644 --- a/ts/state/ducks/stories.ts +++ b/ts/state/ducks/stories.ts @@ -425,7 +425,7 @@ function markStoryRead( const storyReadDate = Date.now(); - markViewed(message.attributes, storyReadDate); + message.set(markViewed(message.attributes, storyReadDate)); const viewedReceipt = { messageId,