forked from GNUsocial/gnu-social
correct name check in ActivityObject::fromProfile()
This commit is contained in:
parent
5aeed9e041
commit
f83941a67b
@ -366,7 +366,7 @@ class ActivityObject
|
|||||||
|
|
||||||
$object->type = ActivityObject::PERSON;
|
$object->type = ActivityObject::PERSON;
|
||||||
$object->id = $profile->getUri();
|
$object->id = $profile->getUri();
|
||||||
$object->title = $this->getBestName();
|
$object->title = $profile->getBestName();
|
||||||
$object->link = $profile->profileurl;
|
$object->link = $profile->profileurl;
|
||||||
|
|
||||||
return $object;
|
return $object;
|
||||||
|
Loading…
Reference in New Issue
Block a user