From ac1a6d197ab578f22894703dec49a2332f3c1ab3 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 10 Jan 2019 11:33:34 -0800 Subject: [PATCH] Enable sending multiple images in one message --- js/views/file_input_view.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index 85157601c..3b21f9a3f 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -281,10 +281,10 @@ const contentType = file.type; // TODO: remove this when clients are ready to remove multiple image attachments - if (this.attachments.length > 0) { - this.showMaxOneAttachmentError(); - return; - } + // if (this.attachments.length > 0) { + // this.showMaxOneAttachmentError(); + // return; + // } if (window.Signal.Util.isFileDangerous(fileName)) { this.showDangerousError();