Skip to content

Commit

Permalink
Update AP Helpers, fixes #3290
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Mar 4, 2022
1 parent b78bff7 commit 5397520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Util/ActivityPub/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public static function profileFirstOrNew($url, $runJobs = false)
$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'];
Expand Down

0 comments on commit 5397520

Please sign in to comment.