mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 16:53:17 +00:00
Update DirectMessageController, add sharedInbox support
This commit is contained in:
parent
bfe2341575
commit
e2e32682fd
1 changed files with 2 additions and 2 deletions
|
@ -704,7 +704,7 @@ class DirectMessageController extends Controller
|
||||||
public function remoteDeliver($dm)
|
public function remoteDeliver($dm)
|
||||||
{
|
{
|
||||||
$profile = $dm->author;
|
$profile = $dm->author;
|
||||||
$url = $dm->recipient->inbox_url;
|
$url = $dm->recipient->sharedInbox ?? $dm->recipient->inbox_url;
|
||||||
|
|
||||||
$tags = [
|
$tags = [
|
||||||
[
|
[
|
||||||
|
@ -760,7 +760,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' => [
|
||||||
|
|
Loading…
Reference in a new issue