mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-14 10:08:28 +02:00
* Dashboard doesn't show "You have no tickets assigned to you." incorrectly * get_email is smarter about "RE:" and "FW:" to prevent double-ups.
This commit is contained in:
@ -122,7 +122,7 @@ def ticket_from_message(message, queue):
|
||||
message = email.message_from_string(msg)
|
||||
subject = message.get('subject', _('Created from e-mail'))
|
||||
subject = decodeUnknown(message.get_charset(), subject)
|
||||
subject = subject.replace("Re: ", "").replace("Fw: ", "").strip()
|
||||
subject = subject.replace("Re: ", "").replace("Fw: ", "").replace("RE: ", "").replace("FW: ", "").strip()
|
||||
|
||||
sender = message.get('from', _('Unknown Sender'))
|
||||
sender = decodeUnknown(message.get_charset(), sender)
|
||||
|
Reference in New Issue
Block a user