From dc679a8eca7e650acef0522e3066a1968fb7d6ff Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 4 Nov 2016 18:40:57 +0000 Subject: [PATCH] Fix gif hoverover --- src/components/views/messages/MImageBody.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/views/messages/MImageBody.js b/src/components/views/messages/MImageBody.js index e24a6b1081..bfdce1eaba 100644 --- a/src/components/views/messages/MImageBody.js +++ b/src/components/views/messages/MImageBody.js @@ -75,9 +75,7 @@ module.exports = React.createClass({ return; } var imgElement = e.target; - imgElement.src = MatrixClientPeg.get().mxcUrlToHttp( - this.props.mxEvent.getContent().url - ); + imgElement.src = this._getContentUrl(); }, onImageLeave: function(e) {