Update Inbox worker

This commit is contained in:
Daniel Supernault 2020-05-21 17:48:05 -06:00
parent f059d2fdd1
commit 310b0e58a1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -194,9 +194,9 @@ class Inbox
]); ]);
} else { } else {
$follower = new Follower; $follower = new Follower;
$follower->profile_id => $actor->id; $follower->profile_id = $actor->id;
$follower->following_id => $target->id; $follower->following_id = $target->id;
$follower->local_profile => empty($actor->domain); $follower->local_profile = empty($actor->domain);
if($target->domain == null) { if($target->domain == null) {
Notification::firstOrCreate([ Notification::firstOrCreate([