use fqn
for local account instead of building manually
This commit is contained in:
parent
b74b19cc73
commit
b170a532f6
4 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue