From 7f551f517bbce13fbe90874e0c39dbbf0f8c7e0a Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Fri, 15 Dec 2017 14:01:07 +0000 Subject: [PATCH] Add comments to _onDecrypted --- src/components/views/rooms/EventTile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index f0cd0ee7bf..0b55c3aa2a 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -196,6 +196,8 @@ module.exports = withMatrixClient(React.createClass({ */ _onDecrypted: function() { // we need to re-verify the sending device. + // (we call onWidgetLoad in _verifyEvent to handle the case where decryption + // has caused a change in size of the event tile) this._verifyEvent(this.props.mxEvent); this.forceUpdate(); },