Update DirectMessageController, revert delete delivery to sharedInbox

This commit is contained in:
Daniel Supernault 2023-12-08 02:36:56 -07:00
parent 7f462a8055
commit d1c297d1ad
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

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