From 0714d2d010d3c22bda7c64e0162bf9a90954c3d8 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Mon, 9 Jan 2023 15:39:58 +0900 Subject: [PATCH] Use User.fqn for user activity for consistency with blog --- plume-models/src/users.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/users.rs b/plume-models/src/users.rs index 0d2627d4..6eb0bc78 100644 --- a/plume-models/src/users.rs +++ b/plume-models/src/users.rs @@ -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() {