mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update AP Inbox, fix delete handling
This commit is contained in:
parent
361d5f0374
commit
2800c8886a
2 changed files with 3 additions and 3 deletions
|
@ -479,8 +479,8 @@ class Helpers {
|
|||
'profile_id' => $pid,
|
||||
'url' => $url,
|
||||
'object_url' => $id,
|
||||
'caption' => strip_tags($activity['content']),
|
||||
'rendered' => Purify::clean($activity['content']),
|
||||
'caption' => isset($activity['content']) ? Purify::clean(strip_tags($activity['content'])) : null,
|
||||
'rendered' => isset($activity['content']) ? Purify::clean($activity['content']) : null,
|
||||
'created_at' => Carbon::parse($ts)->tz('UTC'),
|
||||
'in_reply_to_id' => $reply_to,
|
||||
'local' => false,
|
||||
|
|
|
@ -698,7 +698,7 @@ class Inbox
|
|||
return;
|
||||
}
|
||||
$status = Status::whereProfileId($profile->id)
|
||||
->whereUri($id)
|
||||
->whereObjectUrl($id)
|
||||
->first();
|
||||
if(!$status) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue