No Backbone in data layer; server/client interfaces are now similar
This commit is contained in:
parent
064bbfe97a
commit
34fd945f83
31 changed files with 573 additions and 1021 deletions
|
@ -196,9 +196,7 @@ async function _runJob(job?: AttachmentDownloadJobType): Promise<void> {
|
|||
|
||||
const found =
|
||||
window.MessageController.getById(messageId) ||
|
||||
(await getMessageById(messageId, {
|
||||
Message: window.Whisper.Message,
|
||||
}));
|
||||
(await getMessageById(messageId));
|
||||
if (!found) {
|
||||
logger.error('_runJob: Source message not found, deleting job');
|
||||
await _finishJob(null, id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue