mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:42:53 +00:00
Return the actor, not the array
This commit is contained in:
parent
b1a2de5cb5
commit
e68ff3b3bb
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ class Delivery
|
||||||
*/
|
*/
|
||||||
private static function fetchActorForRelayInbox(string $inbox): string
|
private static function fetchActorForRelayInbox(string $inbox): string
|
||||||
{
|
{
|
||||||
return DBA::selectFirst('apcontact', ['url'], ['sharedinbox' => $inbox, 'type' => 'Application']) ?: '';
|
$apcontact = DBA::selectFirst('apcontact', ['url'], ['sharedinbox' => $inbox, 'type' => 'Application']);
|
||||||
|
return $apcontact['url'] ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue