mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
Add user contact data superseding to Mastodon\Account::create
This commit is contained in:
parent
c286772fb5
commit
0dbce6e58b
2 changed files with 9 additions and 5 deletions
|
@ -105,8 +105,9 @@ class FollowRequests extends Api
|
|||
}
|
||||
|
||||
$publicContact = Contact::getById($cdata['public']);
|
||||
$userContact = Contact::getById($cdata['user']);
|
||||
$apcontact = APContact::getByURL($publicContact['url'], false);
|
||||
$account = Mastodon\Account::create($baseUrl, $publicContact, $apcontact);
|
||||
$account = Mastodon\Account::create($baseUrl, $publicContact, $apcontact, $userContact);
|
||||
|
||||
// Not ideal, the same "account" can have multiple ids depending on the context
|
||||
$account->id = $intro['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue