diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-15 18:43:41 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-19 18:25:06 +0200 |
commit | cd86386bffe0911fa8879735a3b18540c50ed71c (patch) | |
tree | c158f39ce04035582420ca4ca3f0fa64dc23432c /lib | |
parent | f8e55b158c43a7d63f0fcea483579da091bba00b (diff) |
use the correct value for `account.acct`
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/ActivityPub/Actor/Person.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |