Add blahs in actions
All checks were successful
Android Build / publish (push) Successful in 44s
Linux Build / publish (push) Successful in 53s

This commit is contained in:
olcxja 2026-05-21 08:28:06 +02:00
commit 81145968a1
9 changed files with 237 additions and 35 deletions

View file

@ -96,7 +96,7 @@
}
sidebarPfp.src = await getAvatarUrl(username);
showAction("Authenticating...", "startauth");
showAction("action.auth", "startauth");
let res = await Auth(username, password);
clearAction("startauth");
if (res.startsWith("success:")) {
@ -120,9 +120,9 @@
try {
showAction("Refreshing dms...", "dmrefresh");
let res = await fetchEncrypted("user/dm/list", "");
console.log(res);
showAction("action.dm.fetch", "dmrefresh");
let res = await fetchEncrypted("user/dm/list");
clearAction("dmrefresh");
}
catch (e) {
@ -133,9 +133,9 @@
async function addDm() {
try {
showAction("Adding...", "dmadd");
showAction("action.dm.adding", "dmadd");
let res = await fetchEncrypted("user/dm/invite", document.getElementById("addchat-username").value);
console.log(res);
clearAction("dmadd");
showBlahNotification(res);
}