From: Hypolite Petovan Date: Sat, 9 Feb 2019 03:32:50 +0000 (-0500) Subject: Add alias field to ActivityPub contacts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e6a75b2609b99a8e147288a40bbba8462f727f62;p=friendica.git Add alias field to ActivityPub contacts --- diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 3d196c46de..bf36306b41 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -192,7 +192,7 @@ class APContact extends BaseObject DBA::update('apcontact', $apcontact, ['url' => $url], true); // 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 $contact_types = array_keys(ActivityPub::ACCOUNT_TYPES, $apcontact['type']);