mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-31 00:40:47 +00:00
DM
This commit is contained in:
parent
7256a9baeb
commit
8fad89543f
2 changed files with 3 additions and 0 deletions
|
@ -3006,6 +3006,8 @@ class ApiV1Controller extends Controller
|
|||
'scope' => 'nullable|in:inbox,sent,requests',
|
||||
]);
|
||||
|
||||
return [];
|
||||
|
||||
$limit = $request->input('limit', 20);
|
||||
$scope = $request->input('scope', 'inbox');
|
||||
$user = $request->user();
|
||||
|
|
|
@ -30,6 +30,7 @@ class DirectMessageController extends Controller
|
|||
{
|
||||
public function __construct()
|
||||
{
|
||||
abort(404);
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue