Replace actor ID in Mastodon API mentions with profile URL

This commit is contained in:
silverpill 2022-05-12 20:55:55 +00:00
parent 425a5d9331
commit ee8b6c497d

View file

@ -25,7 +25,7 @@ impl Mention {
id: profile.id.to_string(),
username: profile.username.clone(),
acct: profile.acct.clone(),
url: profile.actor_id(instance_url),
url: profile.actor_url(instance_url),
}
}
}