Don't use auto-away for servers without presence
This commit is contained in:
parent
b4f706d2e8
commit
b8264d123c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user