Don't use auto-away for servers without presence

This commit is contained in:
miruka 2020-07-11 17:39:40 -04:00
parent b4f706d2e8
commit b8264d123c

View File

@ -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)