Merge pull request #4803 from pixelfed/staging

Update DirectMessageController, revert delete delivery to sharedInbox
This commit is contained in:
daniel 2023-12-08 02:41:37 -07:00 committed by GitHub
commit 4bb97e1547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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