From 539752067fde2c49a19c9ed926804b3704fdcac3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 3 Mar 2022 21:57:13 -0700 Subject: [PATCH] Update AP Helpers, fixes #3290 --- app/Util/ActivityPub/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 0f230f24..b9a4f26e 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -629,7 +629,7 @@ class Helpers { $profile->bio = isset($res['summary']) ? Purify::clean($res['summary']) : null; $profile->sharedInbox = isset($res['endpoints']) && isset($res['endpoints']['sharedInbox']) ? $res['endpoints']['sharedInbox'] : null; $profile->inbox_url = $res['inbox']; - $profile->outbox_url = $res['outbox']; + $profile->outbox_url = isset($res['outbox']) ? $res['outbox'] : null; $profile->remote_url = $res['id']; $profile->public_key = $res['publicKey']['publicKeyPem']; $profile->key_id = $res['publicKey']['id'];