upgradeSchema: New keepOnDisk option, used for edits
This commit is contained in:
parent
661727c290
commit
d1aa47544b
4 changed files with 27 additions and 17 deletions
|
@ -134,7 +134,10 @@ export async function handleEditMessage(
|
|||
}
|
||||
|
||||
const upgradedEditedMessageData =
|
||||
await window.Signal.Migrations.upgradeMessageSchema(editAttributes.message);
|
||||
await window.Signal.Migrations.upgradeMessageSchema(
|
||||
editAttributes.message,
|
||||
{ keepOnDisk: true }
|
||||
);
|
||||
|
||||
// Copies over the attachments from the main message if they're the same
|
||||
// and they have already been downloaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue