feat(frontend): main menu lists accounts with their avatars, switching opens the last chat of that account

This commit is contained in:
hh committed 2026-10-19 02:02:31 +00:00
1 parent 3460246749
commit a1d3552519
10 files changed
+338 -55

No files matched your search

+2 -2
View File
@@ -66,9 +66,9 @@ async function fetchAvatar(
export function loadAvatar(
kind: AvatarKind,
id: number
id: number,
account: number | null = accounts.selectedId
): Promise<string | null> {
const account = accounts.selectedId;
if (account === null) {
return Promise.resolve(null);
}