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

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