diff --git a/src/components/views/right_panel/UserInfo.js b/src/components/views/right_panel/UserInfo.js
index 208c5e8906..809fdcb6d7 100644
--- a/src/components/views/right_panel/UserInfo.js
+++ b/src/components/views/right_panel/UserInfo.js
@@ -74,17 +74,6 @@ const _getE2EStatus = (cli, userId, devices) => {
return "warning";
};
-async function unverifyUser(matrixClient, userId) {
- const devices = await matrixClient.getStoredDevicesForUser(userId);
- for (const device of devices) {
- if (device.isVerified()) {
- matrixClient.setDeviceVerified(
- userId, device.deviceId, false,
- );
- }
- }
-}
-
function openDMForUser(matrixClient, userId) {
const dmRooms = DMRoomMap.shared().getDMRoomsForUserId(userId);
const lastActiveRoom = dmRooms.reduce((lastActiveRoom, roomId) => {
@@ -331,14 +320,6 @@ const UserOptionsSection = ({member, isIgnored, canInvite, devices}) => {
);
}
- let unverifyButton;
- if (devices && devices.some(device => device.isVerified())) {
- unverifyButton = (
-