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

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);