Skip to content

Commit

Permalink
feat: added filter on mailboxes in move_conv popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars- committed Dec 4, 2024
1 parent 93391f8 commit 143d96a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Http/Controllers/ConversationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
}

Expand Down

0 comments on commit 143d96a

Please sign in to comment.