Daniel Supernault 5 éve
szülő
commit
d85cdd13de
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      app/Util/ActivityPub/Inbox.php

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

@@ -307,7 +307,7 @@ class Inbox
         $id = $this->payload['object']['id'];
         $id = $this->payload['object']['id'];
         switch ($type) {
         switch ($type) {
             case 'Person':
             case 'Person':
-                    $profile = Helpers::fetchProfile($actor);
+                    $profile = Helpers::profileFetch($actor);
                     if(!$profile || $profile->private_key != null) {
                     if(!$profile || $profile->private_key != null) {
                         return;
                         return;
                     }
                     }
@@ -323,7 +323,7 @@ class Inbox
                 break;
                 break;
 
 
             case 'Tombstone':
             case 'Tombstone':
-                    $profile = Helpers::fetchProfile($actor);
+                    $profile = Helpers::profileFetch($actor);
                     $status = Status::whereProfileId($profile->id)
                     $status = Status::whereProfileId($profile->id)
                         ->whereUri($id)
                         ->whereUri($id)
                         ->orWhereUrl($id)
                         ->orWhereUrl($id)