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:
@@ -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" ?
|
||||
|
Reference in New Issue
Block a user