https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa7768
)
Add alias field to ActivityPub contacts
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 9 Feb 2019 03:32:50 +0000
(22:32 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 9 Feb 2019 03:32:50 +0000
(22:32 -0500)
src/Model/APContact.php
patch
|
blob
|
history
diff --git
a/src/Model/APContact.php
b/src/Model/APContact.php
index
3d196c4
..
bf36306
100644
(file)
--- 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']);