mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Pass Blob to View (for ImageView)
This allows us to do JPEG auto-orientation based on EXIF metadata.
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
if (!this.objectUrl) {
|
||||
this.objectUrl = window.URL.createObjectURL(this.blob);
|
||||
}
|
||||
this.view = new View(this.objectUrl, this.model.contentType);
|
||||
this.view = new View(this.objectUrl, this.model.contentType, this.blob);
|
||||
this.view.$el.appendTo(this.$el);
|
||||
this.listenTo(this.view, 'update', this.update);
|
||||
this.view.render();
|
||||
|
||||
Reference in New Issue
Block a user