Enable sending multiple images in one message

This commit is contained in:
Scott Nonnenberg 2019-01-10 11:33:34 -08:00
parent 7db7a3ad44
commit ac1a6d197a

View file

@ -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();