Allow sending arbitrary files
This commit is contained in:
parent
40af226a4a
commit
7a8f2f0fec
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue