Update Inbox

pull/1600/head
Daniel Supernault 6 years ago
parent b86a9d9524
commit 92c2fcaca7
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -274,10 +274,10 @@ class Inbox
return;
}
$follower = new Follower();
$follower->profile_id = $actor->id;
$follower->following_id = $target->id;
$follower->save();
$follower = Follower::firstOrCreate([
'profile_id' => $actor->id,
'following_id' => $target->id,
]);
FollowPipeline::dispatch($follower);
$request->delete();

Loading…
Cancel
Save