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:
Daniel Gasienica
2018-02-12 16:27:21 -05:00
parent ed43c66f92
commit 0739feae9c

View File

@@ -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',