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

View file

@ -761,7 +761,7 @@ impl User {
actor.set_url(ap_url.clone());
actor.set_inbox(self.inbox_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()?);
if let Some(shared_inbox_url) = self.shared_inbox_url.clone() {