fix
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5c8d12ab25
commit
3305ca26f0
1 changed files with 1 additions and 1 deletions
|
@ -1308,7 +1308,7 @@ const BasicUserInfo = ({room, member, groupId, devices, isRoomEncrypted}) => {
|
||||||
const userTrust = cryptoEnabled && cli.checkUserTrust(member.userId);
|
const userTrust = cryptoEnabled && cli.checkUserTrust(member.userId);
|
||||||
const userVerified = cryptoEnabled && userTrust.isCrossSigningVerified();
|
const userVerified = cryptoEnabled && userTrust.isCrossSigningVerified();
|
||||||
const isMe = member.userId === cli.getUserId();
|
const isMe = member.userId === cli.getUserId();
|
||||||
const canVerify = homeserverSupportsCrossSigning && !userVerified && !isMe;
|
const canVerify = cryptoEnabled && homeserverSupportsCrossSigning && !userVerified && !isMe;
|
||||||
|
|
||||||
const setUpdating = (updating) => {
|
const setUpdating = (updating) => {
|
||||||
setPendingUpdateCount(count => count + (updating ? 1 : -1));
|
setPendingUpdateCount(count => count + (updating ? 1 : -1));
|
||||||
|
|
Loading…
Reference in a new issue