Use User.fqn for user activity for consistency with blog

This commit is contained in:
Kitaiti Makoto 2023-01-09 15:39:58 +09:00
parent 5bd084eff7
commit 0714d2d010
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ impl User {
actor.set_url(ap_url.clone()); actor.set_url(ap_url.clone());
actor.set_inbox(self.inbox_url.parse()?); actor.set_inbox(self.inbox_url.parse()?);
actor.set_outbox(self.outbox_url.parse()?); actor.set_outbox(self.outbox_url.parse()?);
actor.set_preferred_username(self.username.clone()); actor.set_preferred_username(&self.fqn);
actor.set_followers(self.followers_endpoint.parse()?); actor.set_followers(self.followers_endpoint.parse()?);
if let Some(shared_inbox_url) = self.shared_inbox_url.clone() { if let Some(shared_inbox_url) = self.shared_inbox_url.clone() {