Skip to content
Snippets Groups Projects
Unverified Commit 5131a341 authored by Marie's avatar Marie Committed by GitHub
Browse files

fix: correct acctUri

parent a5fccab1
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ export class MastoConverters {
const fqn = `${user.username}@${user.host ?? this.config.hostname}`;
let acct = 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) {
acct = `${user.username}@${user.host}`;
acctUrl = `https://${user.host}/@${user.username}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment