MemberProfile: admins can't demote other admins
This commit is contained in:
parent
62ea61380a
commit
04692179f9
1
TODO.md
1
TODO.md
|
@ -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
|
||||
|
||||
|
|
|
@ -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:")
|
||||
|
|
Loading…
Reference in New Issue
Block a user