Fixed issue #986 - Zammad sends reply to itself.

This commit is contained in:
Rolf Schmidt 2017-07-18 13:51:26 +02:00
parent a9a76ef0b7
commit 084ef3f50d

View file

@ -336,8 +336,7 @@ class App.TicketZoomArticleActions extends App.Controller
articleNew.to = ticket.customer.email
else
user = App.User.find(article.created_by_id)
if article.sender.name is 'Agent' && !article.from.match(user.email)
if article.sender.name is 'Agent'
articleNew.to = article.to
else
if article.reply_to