sendSyncMessageOnly: Keep timer if it exists

Co-authored-by: yash-signal <yash@signal.org>
This commit is contained in:
automated-signal 2025-07-21 14:31:21 -05:00 committed by GitHub
parent dda6201acf
commit 0ddd256f5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -283,7 +283,8 @@ export async function sendSyncMessageOnly(
try {
message.set({
// This is the same as a normal send()
expirationStartTimestamp: Date.now(),
expirationStartTimestamp:
message.get('expirationStartTimestamp') ?? Date.now(),
errors: [],
});
const result = await sendSyncMessage(message, targetTimestamp);