sendSyncMessageOnly: Keep timer if it exists
Co-authored-by: yash-signal <yash@signal.org>
This commit is contained in:
parent
3a617fb9ef
commit
1f10105b22
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ export async function sendSyncMessageOnly(
|
||||||
try {
|
try {
|
||||||
message.set({
|
message.set({
|
||||||
// This is the same as a normal send()
|
// This is the same as a normal send()
|
||||||
expirationStartTimestamp: Date.now(),
|
expirationStartTimestamp:
|
||||||
|
message.get('expirationStartTimestamp') ?? Date.now(),
|
||||||
errors: [],
|
errors: [],
|
||||||
});
|
});
|
||||||
const result = await sendSyncMessage(message, targetTimestamp);
|
const result = await sendSyncMessage(message, targetTimestamp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue