Allow sending arbitrary files

pull/749/head
lilia 8 years ago
parent 40af226a4a
commit 7a8f2f0fec

@ -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) {

Loading…
Cancel
Save