Fixed regression introduced by 8fb46b0448
where replying to a phone ticket no longer works
This commit is contained in:
parent
5492f4f24f
commit
47120f0585
2 changed files with 2 additions and 2 deletions
|
@ -1028,7 +1028,7 @@ class App.Utils
|
||||||
|
|
||||||
# the article we are replying to is an incoming call
|
# the article we are replying to is an incoming call
|
||||||
else if article.from?.match(/@/)
|
else if article.from?.match(/@/)
|
||||||
articleNew.to = article.from
|
articleNew.to = App.Utils.parseAddressListLocal(article.from).join(', ')
|
||||||
|
|
||||||
# if sender is customer but in article.from is no email, try to get
|
# if sender is customer but in article.from is no email, try to get
|
||||||
# customers email via customer user
|
# customers email via customer user
|
||||||
|
|
|
@ -2944,7 +2944,7 @@ test('check getRecipientArticle format', function() {
|
||||||
sender: {
|
sender: {
|
||||||
name: 'Customer',
|
name: 'Customer',
|
||||||
},
|
},
|
||||||
from: article_customer.email,
|
from: 'article lastname <article_customer@example.com>',
|
||||||
to: 'some group',
|
to: 'some group',
|
||||||
message_id: 'message_id22',
|
message_id: 'message_id22',
|
||||||
created_by: {
|
created_by: {
|
||||||
|
|
Loading…
Reference in a new issue