On attachment save include date, include album index

This commit is contained in:
Scott Nonnenberg 2019-03-08 12:27:45 -08:00
parent 0b0dfbce9d
commit bf904ddd12
4 changed files with 29 additions and 6 deletions

View file

@ -1294,8 +1294,9 @@
Signal.Types.Attachment.save({
attachment: options.attachment,
document,
index: options.index + 1,
getAbsolutePath: getAbsoluteAttachmentPath,
timestamp: options.message.received_at,
timestamp: options.message.get('sent_at'),
});
};