mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Only queue backfilled attachments after backfill response
This commit is contained in:
@@ -17,6 +17,7 @@ import { queueUpdateMessage } from '../util/messageBatcher';
|
||||
import { isAciString } from '../util/isAciString';
|
||||
import { DataReader, DataWriter } from '../sql/Client';
|
||||
import { MessageModel } from '../models/messages';
|
||||
import { drop } from '../util/drop';
|
||||
|
||||
const log = createLogger('ViewSyncs');
|
||||
|
||||
@@ -136,7 +137,7 @@ export async function onSync(sync: ViewSyncAttributesType): Promise<void> {
|
||||
}
|
||||
|
||||
if (didChangeMessage) {
|
||||
queueUpdateMessage(message.attributes);
|
||||
drop(queueUpdateMessage(message.attributes));
|
||||
}
|
||||
|
||||
await remove(sync);
|
||||
|
||||
Reference in New Issue
Block a user