Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
cc47243733
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      app/Util/ActivityPub/Inbox.php

+ 5 - 0
app/Util/ActivityPub/Inbox.php

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