|
@@ -23,6 +23,8 @@ use App\Services\AccountService;
|
|
use App\Services\StatusService;
|
|
use App\Services\StatusService;
|
|
use App\Services\WebfingerService;
|
|
use App\Services\WebfingerService;
|
|
use App\Models\Conversation;
|
|
use App\Models\Conversation;
|
|
|
|
+use App\Jobs\DirectPipeline\DirectDeletePipeline;
|
|
|
|
+use App\Jobs\DirectPipeline\DirectDeliverPipeline;
|
|
|
|
|
|
class DirectMessageController extends Controller
|
|
class DirectMessageController extends Controller
|
|
{
|
|
{
|
|
@@ -829,7 +831,7 @@ class DirectMessageController extends Controller
|
|
]
|
|
]
|
|
];
|
|
];
|
|
|
|
|
|
- Helpers::sendSignedObject($profile, $url, $body);
|
|
|
|
|
|
+ DirectDeliverPipeline::dispatch($profile, $url, $body)->onQueue('high');
|
|
}
|
|
}
|
|
|
|
|
|
public function remoteDelete($dm)
|
|
public function remoteDelete($dm)
|
|
@@ -852,7 +854,6 @@ class DirectMessageController extends Controller
|
|
'type' => 'Tombstone'
|
|
'type' => 'Tombstone'
|
|
]
|
|
]
|
|
];
|
|
];
|
|
-
|
|
|
|
- Helpers::sendSignedObject($profile, $url, $body);
|
|
|
|
|
|
+ DirectDeletePipeline::dispatch($profile, $url, $body)->onQueue('high');
|
|
}
|
|
}
|
|
}
|
|
}
|