Prevent loop also when fetching the outbox

This commit is contained in:
Michael 2021-07-18 16:42:55 +00:00
parent 596bb9fa7c
commit d8bf9c4601
2 changed files with 14 additions and 11 deletions

View file

@ -235,7 +235,7 @@ class Transmitter
*/
public static function getOutbox($owner, $page = null, $requester = '')
{
$public_contact = Contact::getIdForURL($owner['url']);
$public_contact = Contact::getIdForURL($owner['url'], 0, false);
$condition = ['uid' => 0, 'contact-id' => $public_contact,
'private' => [Item::PUBLIC, Item::UNLISTED]];