From a1921cfff304762111750750e7b7ddad385449df Mon Sep 17 00:00:00 2001 From: Beaudan Brown Date: Fri, 18 Oct 2019 10:33:31 +1100 Subject: [PATCH] Enable link previews to be sent as attachments, might need some more tweaking --- libtextsecure/sendmessage.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index bdc2fe2c2..4ce31886d 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -312,12 +312,6 @@ MessageSender.prototype = { const message = new Message(attrs); const silent = false; - // Remove this when we add support for attachments - message.preview = []; - if (message.quote) { - message.quote.attachments = []; - } - return Promise.all([ this.uploadAttachments(message), this.uploadThumbnails(message),