You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Add comments to _onDecrypted
This commit is contained in:
@@ -196,6 +196,8 @@ module.exports = withMatrixClient(React.createClass({
|
|||||||
*/
|
*/
|
||||||
_onDecrypted: function() {
|
_onDecrypted: function() {
|
||||||
// we need to re-verify the sending device.
|
// 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._verifyEvent(this.props.mxEvent);
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user