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
1 changed files with 1 additions and 1 deletions

View File

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