mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Add comments to _onDecrypted
This commit is contained in:
parent
a516c18cc5
commit
7f551f517b
@ -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();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user