Hide prev status msg for accounts w/out presence
This commit is contained in:
parent
d4b9fc60a4
commit
c4a0e73e19
|
@ -115,8 +115,10 @@ HMenu {
|
||||||
id: statusRepeater
|
id: statusRepeater
|
||||||
|
|
||||||
// Separate property instead of setting model directly so that we can
|
// Separate property instead of setting model directly so that we can
|
||||||
// manipulate this as a JS list, not a QQmlModel
|
// manipulate this as a JS list, not a QQmlModel.
|
||||||
property var items: window.getState(this, "items", [])
|
// If server doesn't support presence, don't show status.
|
||||||
|
property var items:
|
||||||
|
presence ? window.getState(this, "items", []) : []
|
||||||
|
|
||||||
readonly property string saveName: "lastStatus"
|
readonly property string saveName: "lastStatus"
|
||||||
readonly property string saveId: "ALL"
|
readonly property string saveId: "ALL"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user