Daniel Supernault 3 månader sedan
förälder
incheckning
b54d90d405
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      app/Util/ActivityPub/Inbox.php

+ 2 - 2
app/Util/ActivityPub/Inbox.php

@@ -622,7 +622,7 @@ class Inbox
         RelationshipService::refresh($actor->id, $target->id);
         RelationshipService::refresh($actor->id, $target->id);
         AccountService::del($actor->id);
         AccountService::del($actor->id);
         AccountService::del($target->id);
         AccountService::del($target->id);
-        return;
+
     }
     }
 
 
     public function handleAnnounceActivity()
     public function handleAnnounceActivity()
@@ -874,7 +874,7 @@ class Inbox
 
 
         FollowRequest::whereFollowerId($profile->id)->whereFollowingId($actor->id)->forceDelete();
         FollowRequest::whereFollowerId($profile->id)->whereFollowingId($actor->id)->forceDelete();
         RelationshipService::refresh($actor->id, $profile->id);
         RelationshipService::refresh($actor->id, $profile->id);
-        return;
+
     }
     }
 
 
     public function handleUndoActivity()
     public function handleUndoActivity()