mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-11 01:46:05 +01:00
Use contentType from model
This commit is contained in:
1 parent
032c0ced46
commit
9638fbc987
1 file changed
+2
-1
@@ -215,7 +215,8 @@
|
||||
});
|
||||
}
|
||||
|
||||
const {blob, contentType} = this;
|
||||
const {blob} = this;
|
||||
const {contentType} = this.model;
|
||||
this.view = new View(this.objectUrl, {blob, contentType});
|
||||
this.view.$el.appendTo(this.$el);
|
||||
this.listenTo(this.view, 'update', this.update);
|
||||
|
||||
Reference in new issue
Block a user