Revert "Fixed issue #986 - Zammad sends reply to itself."
This reverts commit 084ef3f50d
.
This commit is contained in:
parent
961a5ecfa5
commit
c8fb10e1b5
1 changed files with 2 additions and 1 deletions
|
@ -336,7 +336,8 @@ class App.TicketZoomArticleActions extends App.Controller
|
|||
articleNew.to = ticket.customer.email
|
||||
|
||||
else
|
||||
if article.sender.name is 'Agent'
|
||||
user = App.User.find(article.created_by_id)
|
||||
if article.sender.name is 'Agent' && !article.from.match(user.email)
|
||||
articleNew.to = article.to
|
||||
else
|
||||
if article.reply_to
|
||||
|
|
Loading…
Reference in a new issue