Merge pull request #4377 from pixelfed/staging

Update Bouncer
pull/4394/head
daniel 3 years ago committed by GitHub
commit cac9041e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -308,7 +308,7 @@ class Helpers {
$res = self::fetchFromUrl($url);
if(!$res || empty($res) || isset($res['error']) || !isset($res['@context']) ) {
if(!$res || empty($res) || isset($res['error']) || !isset($res['@context']) || !isset($res['published']) ) {
return;
}

@ -149,7 +149,6 @@ class Bouncer {
$notification->item_id = $status->id;
$notification->item_type = "App\Status";
$notification->save();
NotificationService::add($notification->profile_id, $notification->id);
StatusService::del($status->id);

Loading…
Cancel
Save