diff --git a/app/Http/Controllers/ConversationsController.php b/app/Http/Controllers/ConversationsController.php index 9169cd195..f54fa64f7 100755 --- a/app/Http/Controllers/ConversationsController.php +++ b/app/Http/Controllers/ConversationsController.php @@ -2563,9 +2563,11 @@ public function ajaxHtmlMoveConv() abort(403); } + $mailboxes = \Eventy::filter( 'conversations.move_conv.mailboxes', $user->mailboxesCanView() ); + return view('conversations/ajax_html/move_conv', [ 'conversation' => $conversation, - 'mailboxes' => $user->mailboxesCanView(), + 'mailboxes' => $mailboxes, ]); }