From cd86386bffe0911fa8879735a3b18540c50ed71c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 15 Oct 2020 18:43:41 +0200 Subject: [PATCH] use the correct value for `account.acct` Signed-off-by: Robin Appelman --- lib/Model/ActivityPub/Actor/Person.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Model/ActivityPub/Actor/Person.php b/lib/Model/ActivityPub/Actor/Person.php index f9f3b5c3..e55030ec 100644 --- a/lib/Model/ActivityPub/Actor/Person.php +++ b/lib/Model/ActivityPub/Actor/Person.php @@ -741,7 +741,7 @@ class Person extends ACore implements IQueryRow, JsonSerializable { $result = [ "username" => $this->getPreferredUsername(), - "acct" => $this->getPreferredUsername(), + "acct" => $this->getAccount(), "display_name" => $this->getDisplayName(), "locked" => $this->isLocked(), "bot" => $this->isBot(),