cleanAttributes: Use value from cache, not from database
This commit is contained in:
parent
611ece2b21
commit
8166024700
1 changed files with 1 additions and 1 deletions
|
@ -1820,7 +1820,7 @@ export class ConversationModel extends window.Backbone
|
|||
let upgradedMessage = message;
|
||||
if ((schemaVersion || 0) < Message.VERSION_NEEDED_FOR_DISPLAY) {
|
||||
// Yep, we really do want to wait for each of these
|
||||
upgradedMessage = await upgradeMessageSchema(message);
|
||||
upgradedMessage = await upgradeMessageSchema(model.attributes);
|
||||
model.set(upgradedMessage);
|
||||
await DataWriter.saveMessage(upgradedMessage, { ourAci });
|
||||
upgraded += 1;
|
||||
|
|
Loading…
Reference in a new issue