fix: correct acctUri
This commit is contained in:
parent
a5fccab128
commit
5131a3414d
@ -133,7 +133,7 @@ export class MastoConverters {
|
|||||||
const fqn = `${user.username}@${user.host ?? this.config.hostname}`;
|
const fqn = `${user.username}@${user.host ?? this.config.hostname}`;
|
||||||
let acct = user.username;
|
let acct = user.username;
|
||||||
let acctUrl = `https://${user.host || this.config.host}/@${user.username}`;
|
let acctUrl = `https://${user.host || this.config.host}/@${user.username}`;
|
||||||
const acctUri = `https://${this.config.host}/@${user.id}`;
|
const acctUri = `https://${this.config.host}/users/${user.id}`;
|
||||||
if (user.host) {
|
if (user.host) {
|
||||||
acct = `${user.username}@${user.host}`;
|
acct = `${user.username}@${user.host}`;
|
||||||
acctUrl = `https://${user.host}/@${user.username}`;
|
acctUrl = `https://${user.host}/@${user.username}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user