From 9cc37cc0e749060c4d18578fd0a277ed31f5b5e3 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Mon, 23 Oct 2023 15:46:47 +1100 Subject: [PATCH] fix: outgoing start call notification timer start on after read --- ts/session/utils/calling/CallManager.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts/session/utils/calling/CallManager.ts b/ts/session/utils/calling/CallManager.ts index 49fba9473..5fb782140 100644 --- a/ts/session/utils/calling/CallManager.ts +++ b/ts/session/utils/calling/CallManager.ts @@ -524,7 +524,11 @@ export async function USER_callRecipient(recipient: string) { expirationMode ); - if (expirationMode === 'legacy' || expirationMode === 'deleteAfterSend') { + if ( + expirationMode === 'legacy' || + expirationMode === 'deleteAfterSend' || + expirationMode === 'deleteAfterRead' // we are the one iniating the call, so that message is already read + ) { expirationStartTimestamp = DisappearingMessages.setExpirationStartTimestamp( expirationMode, now,