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
|
||||
radius: theme.mainPane.listView.account.avatarRadius
|
||||
compact: account.compact
|
||||
|
||||
presence: model.presence_support ? model.presence : ""
|
||||
presence: model.presence
|
||||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
|
||||
|
@ -163,7 +162,7 @@ HTile {
|
|||
}
|
||||
|
||||
contextMenu: AccountContextMenu {
|
||||
userId: model.id
|
||||
userId: model.id
|
||||
statusMsg: model.status_msg
|
||||
presence:
|
||||
model.presence_support || model.presence === "offline" ?
|
||||
|
|
Loading…
Reference in New Issue
Block a user