Show online presence orb for unsupported presence
On server where presence is disabled, we can still know whether we're online or offline for our own account.
This commit is contained in:
parent
1c3099d440
commit
7f476f8f61
|
@ -29,8 +29,7 @@ HTile {
|
||||||
mxc: model.avatar_url
|
mxc: model.avatar_url
|
||||||
radius: theme.mainPane.listView.account.avatarRadius
|
radius: theme.mainPane.listView.account.avatarRadius
|
||||||
compact: account.compact
|
compact: account.compact
|
||||||
|
presence: model.presence
|
||||||
presence: model.presence_support ? model.presence : ""
|
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
|
|
||||||
|
@ -163,7 +162,7 @@ HTile {
|
||||||
}
|
}
|
||||||
|
|
||||||
contextMenu: AccountContextMenu {
|
contextMenu: AccountContextMenu {
|
||||||
userId: model.id
|
userId: model.id
|
||||||
statusMsg: model.status_msg
|
statusMsg: model.status_msg
|
||||||
presence:
|
presence:
|
||||||
model.presence_support || model.presence === "offline" ?
|
model.presence_support || model.presence === "offline" ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user