Merge pull request #2196 from pixelfed/staging

Update Inbox worker
This commit is contained in:
daniel 2020-05-21 17:48:38 -06:00 committed by GitHub
commit f82b4fc518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,9 +194,9 @@ class Inbox
]);
} else {
$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) {
Notification::firstOrCreate([