[minor] remove references from email, leads to conversation for all messages
This commit is contained in:
parent
2b191e81ed
commit
35d7bc2d3e
3 changed files with 2 additions and 12 deletions
|
|
@ -361,12 +361,6 @@ class EmailAccount(Document):
|
|||
communication.reference_doctype = parent.doctype
|
||||
communication.reference_name = parent.name
|
||||
|
||||
# check if message is notification and disable notifications for this message
|
||||
references = email.mail.get("References")
|
||||
if references:
|
||||
if "notification" in references:
|
||||
communication.unread_notification_sent = 1
|
||||
|
||||
def set_sender_field_and_subject_field(self):
|
||||
'''Identify the sender and subject fields from the `append_to` DocType'''
|
||||
# set subject_field and sender_field
|
||||
|
|
|
|||
|
|
@ -188,7 +188,6 @@ class EMail:
|
|||
self.msg_root["Message-Id"] = '<' + message_id + '>'
|
||||
else:
|
||||
self.msg_root["Message-Id"] = get_message_id()
|
||||
self.msg_root["References"] = '<notification>'
|
||||
|
||||
def set_in_reply_to(self, in_reply_to):
|
||||
"""Used to send the Message-Id of a received email back as In-Reply-To"""
|
||||
|
|
|
|||
|
|
@ -23,10 +23,8 @@
|
|||
"public/js/frappe/misc/rating_icons.html"
|
||||
],
|
||||
"js/editor.min.js": [
|
||||
"public/js/lib/jquery/jquery.hotkeys.js",
|
||||
"public/js/lib/beautify-html.js",
|
||||
"public/js/frappe/ui/editor.html",
|
||||
"public/js/frappe/ui/editor.js"
|
||||
"public/js/lib/summernote/summernote.js",
|
||||
"public/js/lib/summernote/summernote.css"
|
||||
],
|
||||
"js/dialog.min.js": [
|
||||
"public/js/frappe/dom.js",
|
||||
|
|
@ -233,7 +231,6 @@
|
|||
"public/js/frappe/list/list_item_subject.html",
|
||||
"public/js/frappe/list/list_permission_footer.html",
|
||||
"public/js/frappe/list/listview.js",
|
||||
"public/js/frappe/views/calendar_base.js",
|
||||
"public/js/frappe/views/calendar.js",
|
||||
"public/js/frappe/list/blueimp-gallery.html",
|
||||
"public/js/frappe/list/image_view_item_row.html",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue