From 1467e4395696320ae21a998fada8f42e87ea5e09 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 8 Jun 2024 10:45:14 -0400 Subject: [PATCH] Remove room member highlight on click Previously it was possible to keep clicking and highlighting each member which doesn't make any sense. We could make this exclusive by having it highlight only when index == currentIndex, but honestly it doesn't need to be highlighted at all. Clicking on a room member opens their user card, there's no persistent state the user needs to keep track of here. (cherry picked from commit e8ad0a055d2529efb0125a5882c63b27e2605174) --- src/qml/RoomInformation.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qml/RoomInformation.qml b/src/qml/RoomInformation.qml index 89901c05a..e99a74947 100644 --- a/src/qml/RoomInformation.qml +++ b/src/qml/RoomInformation.qml @@ -218,7 +218,6 @@ QQC2.ScrollView { KeyNavigation.backtab: index === 0 ? userList.headerItem.userListSearchField : null onClicked: { - userDelegate.highlighted = true; RoomManager.resolveResource(userDelegate.userId, "mention"); }