From 7f476f8f617195c58f2c062ab59b5f01466a6526 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 10 Jul 2020 13:35:34 -0400 Subject: [PATCH] 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. --- src/gui/MainPane/AccountDelegate.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/MainPane/AccountDelegate.qml b/src/gui/MainPane/AccountDelegate.qml index d2dc96d1..19115502 100644 --- a/src/gui/MainPane/AccountDelegate.qml +++ b/src/gui/MainPane/AccountDelegate.qml @@ -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" ?