mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Move to MessageCache.saveMessage, queue downloads piecemeal
This commit is contained in:
@@ -3437,10 +3437,7 @@ async function appendChangeMessages(
|
||||
strictAssert(first !== undefined, 'First message must be there');
|
||||
|
||||
log.info(`appendChangeMessages/${logId}: updating ${first.id}`);
|
||||
await DataWriter.saveMessage(first, {
|
||||
ourAci,
|
||||
postSaveUpdates,
|
||||
|
||||
await window.MessageCache.saveMessage(first, {
|
||||
// We don't use forceSave here because this is an update of existing
|
||||
// message.
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user