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); this.addThumb(this.oUrl);
break; break;
default: default:
var toast = new Whisper.UnsupportedFileTypeToast(); this.addThumb('/images/file.svg'); break;
toast.$el.insertAfter(this.$el);
toast.render();
this.deleteFiles();
return;
} }
this.autoScale(file).then(function(blob) { this.autoScale(file).then(function(blob) {