diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2023-04-06 12:28:51 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2023-04-06 12:28:51 -0100 |
commit | 4473ba01baeba4385d0cae9cbdc6158acdf5842c (patch) | |
tree | 71f6956103621f037572f9f27184b715bd5aafbb /lib | |
parent | ae3471a18ed9b5ded2e5881b530da5042689c469 (diff) |
add note to account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/ActivityPub/Actor/Person.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/ActivityPub/Actor/Person.php b/lib/Model/ActivityPub/Actor/Person.php index dd78d93d..cef807ea 100644 --- a/lib/Model/ActivityPub/Actor/Person.php +++ b/lib/Model/ActivityPub/Actor/Person.php @@ -685,6 +685,7 @@ class Person extends ACore implements IQueryRow, JsonSerializable { $this->setPreferredUsername($this->validate(self::AS_USERNAME, 'preferred_username', $data, '')) ->setUserId($this->get('user_id', $data, '')) ->setName($this->validate(self::AS_USERNAME, 'name', $data, '')) + ->setDescription($this->validate(self::AS_CONTENT, 'summary', $data)) ->setAccount($this->validate(self::AS_ACCOUNT, 'account', $data, '')) ->setPublicKey($this->get('public_key', $data, '')) ->setPrivateKey($this->get('private_key', $data, '')) |