mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 20:03:25 +01:00
Allow sending arbitrary files
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user