Skip to content

Commit

Permalink
Update email.reply_to_customer.subject hook
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Oct 2, 2023
1 parent b12c610 commit 9089aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/SendReplyToCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function handle()
if (!$new && !$is_forward) {
$subject = 'Re: '.$subject;
}
$subject = \Eventy::filter('email.reply_to_customer.subject', $subject, $this->conversation);
$subject = \Eventy::filter('email.reply_to_customer.subject', $subject, $this->conversation, $this->last_thread);
$this->threads = \Eventy::filter('email.reply_to_customer.threads', $this->threads, $this->conversation, $mailbox);

$headers['X-FreeScout-Mail-Type'] = 'customer.message';
Expand Down

0 comments on commit 9089aba

Please sign in to comment.