Return the actor, not the array
This commit is contained in:
parent
b1a2de5cb5
commit
e68ff3b3bb
|
@ -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 New Issue
Block a user