Skip to content

Commit

Permalink
chore: changed filter hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars- committed Dec 10, 2024
1 parent 88c00d5 commit 066871b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Helpers/ConversationActionButtons.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace App\Helpers;

use Eventy;

class ConversationActionButtons
{
// Location constants
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 066871b

Please sign in to comment.