use fqn for local account instead of building manually

This commit is contained in:
ari melody 2025-07-13 19:04:50 +01:00
parent b74b19cc73
commit b170a532f6
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 5 additions and 3 deletions

View file

@ -28,7 +28,7 @@
if (!data) return;
account.set(parseAccount(data));
console.log(`Logged in as @${$account.username}@${$account.host}`);
console.log(`Logged in as ${$account.fqn}`);
// spin up async task to fetch notifications
const notif_data = await api.getNotifications(

View file

@ -30,7 +30,7 @@
if (!data) return goto("/");
account.set(parseAccount(data));
console.log(`Logged in as @${get(account).username}@${get(account).host}`);
console.log(`Logged in as ${get(account).fqn}`);
// spin up async task to fetch notifications
return api.getNotifications(