Update DirectMessageController, deliver direct delete activities to user inbox instead of sharedInbox

This commit is contained in:
Daniel Supernault 2023-12-08 01:38:17 -07:00
parent 4cc66a838d
commit d848792ad4
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -835,7 +835,7 @@ class DirectMessageController extends Controller
public function remoteDelete($dm) public function remoteDelete($dm)
{ {
$profile = $dm->author; $profile = $dm->author;
$url = $dm->recipient->sharedInbox ?? $dm->recipient->inbox_url; $url = $dm->recipient->inbox_url;
$body = [ $body = [
'@context' => [ '@context' => [