add verify button while we don't have the verification in right panel

This commit is contained in:
Bruno Windels 2019-11-15 16:04:00 +01:00
parent ecc842629a
commit d416ba2c0c
3 changed files with 12 additions and 0 deletions

View file

@ -1254,6 +1254,7 @@ const UserInfo = withLegacyMatrixClient(({matrixClient: cli, user, groupId, room
<div className="mx_UserInfo_container">
<h3>{ _t("Security") }</h3>
<p>{ text }</p>
<AccessibleButton className="mx_UserInfo_verify" onClick={() => verifyDevice(user.userId, null)}>{_t("Verify")}</AccessibleButton>
{ devicesSection }
</div>
);