mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Inbox
This commit is contained in:
parent
b86a9d9524
commit
92c2fcaca7
1 changed files with 4 additions and 4 deletions
|
@ -274,10 +274,10 @@ class Inbox
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$follower = new Follower();
|
$follower = Follower::firstOrCreate([
|
||||||
$follower->profile_id = $actor->id;
|
'profile_id' => $actor->id,
|
||||||
$follower->following_id = $target->id;
|
'following_id' => $target->id,
|
||||||
$follower->save();
|
]);
|
||||||
FollowPipeline::dispatch($follower);
|
FollowPipeline::dispatch($follower);
|
||||||
|
|
||||||
$request->delete();
|
$request->delete();
|
||||||
|
|
Loading…
Reference in a new issue