Merge branch 'master' into develop

# Conflicts:
#	package.json
#	yarn.lock
This commit is contained in:
RiotRobot 2022-09-28 14:13:01 +01:00
commit d3029b5967
4 changed files with 19 additions and 7 deletions

View file

@ -628,9 +628,11 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
}
if (!userTrust.isCrossSigningVerified()) {
// user is not verified, so default to everything is normal
// If the message is unauthenticated, then display a grey
// shield, otherwise if the user isn't cross-signed then
// nothing's needed
this.setState({
verified: E2EState.Normal,
verified: encryptionInfo.authenticated ? E2EState.Normal : E2EState.Unauthenticated,
}, this.props.onHeightChanged); // Decryption may have caused a change in size
return;
}