diff --git a/ts/util/readReceipts.ts b/ts/util/readReceipts.ts index 2404e12f9..c4df3e28e 100644 --- a/ts/util/readReceipts.ts +++ b/ts/util/readReceipts.ts @@ -60,8 +60,8 @@ async function onReadReceipt(receipt: { source: string; timestamp: number; readA sent: true, }); - // I think this is redundent since expirationStartTimestamp is always undefined and this the function will null return - if (message.isExpiring() && expirationStartTimestamp) { + // TODO this needs verification through qa once merged that it works + if (message.isExpiring() && !expirationStartTimestamp) { // This will save the message for us while starting the timer await message.setToExpire(); } else {