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

pull/4802/head
Daniel Supernault 1 year ago
parent 4cc66a838d
commit d848792ad4
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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' => [

Loading…
Cancel
Save