Skip to content
Snippets Groups Projects
Commit 8d00d8e1 authored by Peter Rotich's avatar Peter Rotich
Browse files

bug: New message auto response on new ticket

Do not send out new message auto-response to ticket owner as well as
collaborators on new ticket.
parent 29a94877
No related branches found
No related tags found
No related merge requests found
...@@ -2302,9 +2302,9 @@ implements RestrictedAccess, Threadable { ...@@ -2302,9 +2302,9 @@ implements RestrictedAccess, Threadable {
if ($autorespond && $message->isBounceOrAutoReply()) if ($autorespond && $message->isBounceOrAutoReply())
$autorespond = false; $autorespond = false;
$this->onMessage($message, $autorespond); //must be called b4 sending alerts to staff. $this->onMessage($message, ($autorespond && $alerts)); //must be called b4 sending alerts to staff.
if ($autorespond && $cfg && $cfg->notifyCollabsONNewMessage()) if ($autorespond && $alerts && $cfg && $cfg->notifyCollabsONNewMessage())
$this->notifyCollaborators($message, array('signature' => '')); $this->notifyCollaborators($message, array('signature' => ''));
if (!($alerts && $autorespond)) if (!($alerts && $autorespond))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment