sendSyncMessageOnly: Keep timer if it exists

This commit is contained in:
yash-signal 2025-07-21 13:43:49 -05:00 committed by GitHub
parent 4557182654
commit 0fda377326
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);