Kaynağa Gözat

Merge pull request #2196 from pixelfed/staging

Update Inbox worker
daniel 5 yıl önce
ebeveyn
işleme
f82b4fc518
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      app/Util/ActivityPub/Inbox.php

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

@@ -194,9 +194,9 @@ class Inbox
             ]);
         } else {
             $follower = new Follower;
-            $follower->profile_id => $actor->id;
-            $follower->following_id => $target->id;
-            $follower->local_profile => empty($actor->domain);
+            $follower->profile_id = $actor->id;
+            $follower->following_id = $target->id;
+            $follower->local_profile = empty($actor->domain);
 
             if($target->domain == null) {
                 Notification::firstOrCreate([