mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Use minimal replacement class for MessageModel
This commit is contained in:
@@ -16,6 +16,7 @@ import { stats } from '../util/benchmark/stats';
|
||||
import type { StatsType } from '../util/benchmark/stats';
|
||||
import type { MessageAttributesType } from '../model-types.d';
|
||||
import * as log from '../logging/log';
|
||||
import { postSaveUpdates } from '../util/cleanup';
|
||||
|
||||
const BUFFER_DELAY_MS = 50;
|
||||
|
||||
@@ -90,6 +91,7 @@ export async function populateConversationWithMessages({
|
||||
await DataWriter.saveMessages(messages, {
|
||||
forceSave: true,
|
||||
ourAci,
|
||||
postSaveUpdates,
|
||||
});
|
||||
|
||||
conversation.set('active_at', Date.now());
|
||||
|
||||
Reference in New Issue
Block a user