Add alias field to ActivityPub contacts
This commit is contained in:
parent
3aa77685fc
commit
e6a75b2609
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class APContact extends BaseObject
|
||||||
DBA::update('apcontact', $apcontact, ['url' => $url], true);
|
DBA::update('apcontact', $apcontact, ['url' => $url], true);
|
||||||
|
|
||||||
// Update some data in the contact table with various ways to catch them all
|
// Update some data in the contact table with various ways to catch them all
|
||||||
$contact_fields = ['name' => $apcontact['name'], 'about' => $apcontact['about']];
|
$contact_fields = ['name' => $apcontact['name'], 'about' => $apcontact['about'], 'alias' => $apcontact['alias']];
|
||||||
|
|
||||||
// Fetch the type and match it with the contact type
|
// Fetch the type and match it with the contact type
|
||||||
$contact_types = array_keys(ActivityPub::ACCOUNT_TYPES, $apcontact['type']);
|
$contact_types = array_keys(ActivityPub::ACCOUNT_TYPES, $apcontact['type']);
|
||||||
|
|
Loading…
Reference in a new issue