From 539458fe8a43fbebebdc7102b15915f83c2215f1 Mon Sep 17 00:00:00 2001 From: warrickct Date: Tue, 22 Feb 2022 10:34:46 +1100 Subject: [PATCH] Adding setting of approval fields on message processing. --- ts/receiver/queuedJob.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/receiver/queuedJob.ts b/ts/receiver/queuedJob.ts index 64a4e3b2c..dea71f624 100644 --- a/ts/receiver/queuedJob.ts +++ b/ts/receiver/queuedJob.ts @@ -248,10 +248,12 @@ async function handleRegularMessage( if (type === 'incoming') { updateReadStatus(message, conversation); + await conversation.setDidApproveMe(true); } if (type === 'outgoing') { await handleSyncedReceipts(message, conversation); + await conversation.setIsApproved(true); } const conversationActiveAt = conversation.get('active_at');