feat: add basic search dialog

This commit is contained in:
2024-01-23 13:07:24 +07:00
parent 67afeac198
commit cb71786ac1
19 changed files with 1579 additions and 29 deletions

View File

@@ -442,14 +442,13 @@ export class LumeStorage {
}
public async logout() {
const res = await this.#db.execute(
await this.createSetting("nsecbunker", "0");
await this.#db.execute(
"UPDATE accounts SET is_active = '0' WHERE id = $1;",
[this.currentUser.id],
);
if (res) {
this.currentUser = null;
this.nwc = null;
}
this.currentUser = null;
this.nwc = null;
}
}