mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update Inbox
This commit is contained in:
parent
c8eb326ef4
commit
cc47243733
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue