mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Remove just-in-time auto-orient of message attachments
We can bring this back if our users would like auto-orient for old attachments. But better yet, we might implement this as database migration.
This commit is contained in:
@@ -17,12 +17,8 @@
|
||||
|
||||
var ImageView = Backbone.View.extend({
|
||||
tagName: 'img',
|
||||
// TODO: Disable JSHint to allow for `{blob}={}` syntax:
|
||||
initialize: function(blobUrl, options) {
|
||||
window.autoOrientImage(options.blob).then(dataURL => {
|
||||
this.source = dataURL;
|
||||
this.render();
|
||||
});
|
||||
initialize: function(blobUrl) {
|
||||
this.source = blobUrl;
|
||||
},
|
||||
events: {
|
||||
'load': 'update',
|
||||
|
||||
Reference in New Issue
Block a user