mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Merge pull request #1600 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
2018234817
2 changed files with 5 additions and 5 deletions
|
@ -104,7 +104,7 @@ class StatusDelete implements ShouldQueue
|
||||||
Report::whereObjectType('App\Status')
|
Report::whereObjectType('App\Status')
|
||||||
->whereObjectId($status->id)
|
->whereObjectId($status->id)
|
||||||
->delete();
|
->delete();
|
||||||
$status->delete();
|
$status->forceDelete();
|
||||||
});
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -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