fix: outgoing start call notification timer start on after read

pull/2971/head
Audric Ackermann 1 year ago
parent e6dd6844f9
commit 9cc37cc0e7

@ -524,7 +524,11 @@ export async function USER_callRecipient(recipient: string) {
expirationMode 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( expirationStartTimestamp = DisappearingMessages.setExpirationStartTimestamp(
expirationMode, expirationMode,
now, now,

Loading…
Cancel
Save