MemberProfile: admins can't demote other admins

This commit is contained in:
miruka 2020-07-15 10:04:31 -04:00
parent 62ea61380a
commit 04692179f9
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# TODO
- idlemanager: what if setPresence call fails due to network?
- block power level change when offline
- fix power level control button layout when apply button is loading

View File

@ -166,7 +166,7 @@ HListView {
root.canSetPowerLevels &&
(
root.ownPowerLevel > member.power_level ||
root.ownPowerLevel === 100
(root.ownPowerLevel === 100 && member.id === userId)
)
label.text: qsTr("Power level:")