Merge pull request #4803 from pixelfed/staging

Update DirectMessageController, revert delete delivery to sharedInbox
pull/4815/head
daniel 2 years ago committed by GitHub
commit 4bb97e1547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save