Add example notifications and invites tab and improve ux

This commit is contained in:
olcxja 2026-05-19 23:28:08 +02:00
commit f63f8dd77c
8 changed files with 264 additions and 24 deletions

View file

@ -130,14 +130,12 @@
showBlahNotification("error:dm.refresh.failed");
}
}
async function addDm() {
try {
showAction("Adding...", "dmadd");
let res = await fetchEncrypted("user/dm/invite", document.getElementById("addchat-username").value);
console.log(res);
let ressplit = res.split(":");
clearAction("dmadd");
showBlahNotification(res);
}