mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 08:44:49 +00:00
commit
cac9041e3d
2 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue