From 066871b1a32e9c0e05ff9a94168eecf916aebeaa Mon Sep 17 00:00:00 2001 From: Lars Jansen Date: Tue, 10 Dec 2024 10:39:36 +0100 Subject: [PATCH] chore: changed filter hook name --- app/Helpers/ConversationActionButtons.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Helpers/ConversationActionButtons.php b/app/Helpers/ConversationActionButtons.php index 3913bb5c2..79a3b1b1e 100644 --- a/app/Helpers/ConversationActionButtons.php +++ b/app/Helpers/ConversationActionButtons.php @@ -2,8 +2,6 @@ namespace App\Helpers; -use Eventy; - class ConversationActionButtons { // Location constants @@ -145,7 +143,7 @@ public static function getActions($conversation, $user, $mailbox) ]; // Allow overriding default actions while preserving backwards compatibility - $actions = Eventy::filter('conversation.action_buttons', $actions, $conversation, $user, $mailbox); + $actions = \Eventy::filter('conversation.get_action_buttons', $actions, $conversation, $user, $mailbox); // Filter actions based on permissions foreach ($actions as $key => $action) {