Disable member power level control when offline
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user