1
0
Fork 0

Merge pull request #4377 from pixelfed/staging

Update Bouncer
This commit is contained in:
daniel 2023-05-13 17:11:55 -06:00 committed by GitHub
commit cac9041e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -308,7 +308,7 @@ class Helpers {
$res = self::fetchFromUrl($url); $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; return;
} }

View File

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