[fix] email threading based on subject
This commit is contained in:
parent
ce00ecfc54
commit
dbf1f3b040
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class EmailAccount(Document):
|
|||
# if sent by same sender with same subject,
|
||||
# append it to old coversation
|
||||
|
||||
subject = re.sub("Re[^:]*:\s*", "", email.subject)
|
||||
subject = re.sub("(Re|RE)[^:]*:\s*", "", email.subject)
|
||||
|
||||
parent = frappe.db.get_all(self.append_to, filters={
|
||||
sender_field: email.from_email,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue