We now use the new account-user-view (and fixed the function name)

This commit is contained in:
Michael 2021-07-11 09:39:34 +00:00
parent 780d9f1793
commit d267ba999c
17 changed files with 97 additions and 36 deletions

View file

@ -49,7 +49,7 @@ class FollowRequest extends BaseFactory
*/
public function createFromIntroduction(Introduction $introduction): \Friendica\Object\Api\Mastodon\FollowRequest
{
$cdata = Contact::getPublicAndUserContacID($introduction->{'contact-id'}, $introduction->uid);
$cdata = Contact::getPublicAndUserContactID($introduction->{'contact-id'}, $introduction->uid);
if (empty($cdata)) {
$this->logger->warning('Wrong introduction data', ['Introduction' => $introduction]);