Optimize a few queries
This commit is contained in:
@@ -278,7 +278,9 @@ async function _finishJob(
|
||||
): Promise<void> {
|
||||
if (message) {
|
||||
logger.info(`attachment_downloads/_finishJob for job id: ${id}`);
|
||||
await saveMessage(message.attributes);
|
||||
await saveMessage(message.attributes, {
|
||||
ourUuid: window.textsecure.storage.user.getCheckedUuid().toString(),
|
||||
});
|
||||
}
|
||||
|
||||
await removeAttachmentDownloadJob(id);
|
||||
|
Reference in New Issue
Block a user