diff --git a/TODO.md b/TODO.md index 4d4f97fd..a7bf81e2 100644 --- a/TODO.md +++ b/TODO.md @@ -3,7 +3,6 @@ - global presence control - power level control keyboard focus - idlemanager: what if setPresence call fails due to network? -- disable member power level change control when offline - fix power level control button layout when apply button is loading - joining new DM → not loading past events the first time? diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml b/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml index d89dc046..cdb397ea 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml @@ -39,6 +39,7 @@ HColumnLayout { ownPowerLevel: Qt.binding(() => chat.roomInfo.own_power_level), canSetPowerLevels: Qt.binding(() => + chat.userInfo.presence !== "offline" && chat.roomInfo.can_set_power_levels ), member: model,