Skip to content

Commit

Permalink
Enable sending multiple images in one message
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Jan 15, 2019
1 parent 7db7a3a commit ac1a6d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/views/file_input_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ac1a6d1

Please sign in to comment.