From f50596c4a114c2735403ea09cdf500863d63ad01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksa=20Siri=C5=A1ki?= <31509435+aleksasiriski@users.noreply.github.com> Date: Wed, 1 Feb 2023 23:11:21 +0100 Subject: [PATCH] fixed setExpiry() The bug was that setExpiry didn't work if account was enabled and didn't have an expiry already. --- ts/modules/accounts.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index beb3dd5..e13c11d 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -1334,9 +1334,7 @@ export class accountsList { const list = this._collectUsers(); let applyList: string[] = []; for (let id of list) { - if (this._users[id].expiry || enableUser) { - applyList.push(id); - } + applyList.push(id); } this._enableExpiryReason.classList.add("unfocused"); let header: string;