Enable sending multiple images in one message
This commit is contained in:
parent
7db7a3ad44
commit
ac1a6d197a
1 changed files with 4 additions and 4 deletions
|
@ -281,10 +281,10 @@
|
||||||
const contentType = file.type;
|
const contentType = file.type;
|
||||||
|
|
||||||
// TODO: remove this when clients are ready to remove multiple image attachments
|
// TODO: remove this when clients are ready to remove multiple image attachments
|
||||||
if (this.attachments.length > 0) {
|
// if (this.attachments.length > 0) {
|
||||||
this.showMaxOneAttachmentError();
|
// this.showMaxOneAttachmentError();
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (window.Signal.Util.isFileDangerous(fileName)) {
|
if (window.Signal.Util.isFileDangerous(fileName)) {
|
||||||
this.showDangerousError();
|
this.showDangerousError();
|
||||||
|
|
Loading…
Reference in a new issue