Allow sending arbitrary files

This commit is contained in:
lilia 2017-04-18 16:15:27 -07:00
parent 40af226a4a
commit 7a8f2f0fec

View file

@ -128,11 +128,7 @@
this.addThumb(this.oUrl);
break;
default:
var toast = new Whisper.UnsupportedFileTypeToast();
toast.$el.insertAfter(this.$el);
toast.render();
this.deleteFiles();
return;
this.addThumb('/images/file.svg'); break;
}
this.autoScale(file).then(function(blob) {