Update Inbox

This commit is contained in:
Daniel Supernault 2021-06-23 21:21:33 -06:00
parent c8eb326ef4
commit cc47243733
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -435,9 +435,14 @@ class Inbox
if(!$actor || !$target) { if(!$actor || !$target) {
return; return;
} }
$actor = Helpers::profileFetch($actor); $actor = Helpers::profileFetch($actor);
$target = Helpers::profileFetch($target); $target = Helpers::profileFetch($target);
if(!$actor || !$target) {
return;
}
$request = FollowRequest::whereFollowerId($actor->id) $request = FollowRequest::whereFollowerId($actor->id)
->whereFollowingId($target->id) ->whereFollowingId($target->id)
->whereIsRejected(false) ->whereIsRejected(false)