Merge pull request #1600 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-08-12 19:29:35 -06:00 committed by GitHub
commit 2018234817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -104,7 +104,7 @@ class StatusDelete implements ShouldQueue
Report::whereObjectType('App\Status')
->whereObjectId($status->id)
->delete();
$status->delete();
$status->forceDelete();
});
return true;

View File

@ -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();