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

@ -31,6 +31,8 @@ export function parseAccount(data) {
else
account.host = get(server).host;
account.fqn = data.fqn || account.username + account.host;
account.mention = "@" + account.username;
if (account.host != get(server).host)
account.mention += "@" + account.host;