DM keys!!!

This commit is contained in:
olcxja 2026-05-27 23:45:38 +02:00
commit 8f28879f18
4 changed files with 686 additions and 4 deletions

View file

@ -103,6 +103,12 @@
let res = await Auth(username, password);
clearAction("startauth");
if (res.startsWith("success:")) {
try {
await ensureUserKeys();
} catch (e) {
//if fails continue loading encryption may be broken
console.error(e);
}
await refreshDms();
} else {
showBlahNotification("error:auth.failed.redirect.to.login");