From c988239fa8b0eeabe452bc5012ff3797e67341a2 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sat, 13 Nov 2021 17:00:18 +0000 Subject: [PATCH] accounts: allow yes/no in search --- ts/modules/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index f3a6839..6d9b804 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -615,7 +615,7 @@ export class accountsList { if (word.includes(":")) { const querySplit = word.split(":") let state = false; - if (querySplit[1] == "true") { + if (querySplit[1] == "true" || querySplit[1] == "yes") { state = true; } for (let id in this._users) {