From f7c881a462e5fe3ff35a18b403f7dfe0f9039b65 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 28 Apr 2020 09:43:24 +0100 Subject: [PATCH] No need for this if statement now --- src/components/views/right_panel/UserInfo.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/views/right_panel/UserInfo.js b/src/components/views/right_panel/UserInfo.js index d3e8e81ebe..cafbf05a23 100644 --- a/src/components/views/right_panel/UserInfo.js +++ b/src/components/views/right_panel/UserInfo.js @@ -181,9 +181,7 @@ function DeviceItem({userId, device}) { }); const onDeviceClick = () => { - if (!isVerified) { - verifyDevice(cli.getUser(userId), device); - } + verifyDevice(cli.getUser(userId), device); }; const deviceName = device.ambiguous ?