Disable member power level control when offline
This commit is contained in:
parent
23a0504937
commit
bcf93a6f36
1
TODO.md
1
TODO.md
|
@ -3,7 +3,6 @@
|
||||||
- global presence control
|
- global presence control
|
||||||
- power level control keyboard focus
|
- power level control keyboard focus
|
||||||
- idlemanager: what if setPresence call fails due to network?
|
- 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
|
- fix power level control button layout when apply button is loading
|
||||||
|
|
||||||
- joining new DM → not loading past events the first time?
|
- joining new DM → not loading past events the first time?
|
||||||
|
|
|
@ -39,6 +39,7 @@ HColumnLayout {
|
||||||
ownPowerLevel:
|
ownPowerLevel:
|
||||||
Qt.binding(() => chat.roomInfo.own_power_level),
|
Qt.binding(() => chat.roomInfo.own_power_level),
|
||||||
canSetPowerLevels: Qt.binding(() =>
|
canSetPowerLevels: Qt.binding(() =>
|
||||||
|
chat.userInfo.presence !== "offline" &&
|
||||||
chat.roomInfo.can_set_power_levels
|
chat.roomInfo.can_set_power_levels
|
||||||
),
|
),
|
||||||
member: model,
|
member: model,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user