Merge pull request #12467 from pateljannat/email-recipient-through-reply-all
fix: Email recipient through reply all
This commit is contained in:
commit
3f817a6d4f
1 changed files with 3 additions and 2 deletions
|
|
@ -358,10 +358,11 @@ class FormTimeline extends BaseTimeline {
|
|||
const args = {
|
||||
doc: this.frm.doc,
|
||||
frm: this.frm,
|
||||
recipients: communication_doc ? communication_doc.sender : this.get_recipient(),
|
||||
recipients: communication_doc && communication_doc.sender != frappe.session.user_email ? communication_doc.sender : this.get_recipient(),
|
||||
is_a_reply: Boolean(communication_doc),
|
||||
title: communication_doc ? __('Reply') : null,
|
||||
last_email: communication_doc
|
||||
last_email: communication_doc,
|
||||
subject: communication_doc && communication_doc.subject
|
||||
};
|
||||
|
||||
if (communication_doc && reply_all) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue