From b8264d123cf0e9449b531498903e2b1bb1e1647b Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 11 Jul 2020 17:39:40 -0400 Subject: [PATCH] Don't use auto-away for servers without presence --- src/gui/IdleManager.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/IdleManager.qml b/src/gui/IdleManager.qml index 3ca55c92..4fd2c002 100644 --- a/src/gui/IdleManager.qml +++ b/src/gui/IdleManager.qml @@ -28,6 +28,8 @@ Timer { for (let i = 0; i < accounts.count; i++) { const account = accounts.get(i) + if (! account.presence_support) continue + if (beUnavailable && account.presence === "online") { setPresence(account.id, "unavailable") accountsSet.add(account.id)