Enable link previews to be sent as attachments, might need some more tweaking

pull/561/head
Beaudan Brown 6 years ago
parent c7a91686a8
commit a1921cfff3

@ -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),

Loading…
Cancel
Save