Browse Source

Update Inbox worker

Daniel Supernault 5 years ago
parent
commit
310b0e58a1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Util/ActivityPub/Inbox.php

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

@@ -194,9 +194,9 @@ class Inbox
             ]);
             ]);
         } else {
         } else {
             $follower = new Follower;
             $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) {
             if($target->domain == null) {
                 Notification::firstOrCreate([
                 Notification::firstOrCreate([