Remove FoodsoftConfig[:name] from received mails
This commit is contained in:
parent
52dc7b1387
commit
b3a6884cf1
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def hande_mail(recipient, received_email)
|
||||||
group: original_message.group,
|
group: original_message.group,
|
||||||
private: original_message.private,
|
private: original_message.private,
|
||||||
received_email: received_email,
|
received_email: received_email,
|
||||||
subject: mail.subject
|
subject: mail.subject.gsub("[#{FoodsoftConfig[:name]}] ", "")
|
||||||
if original_message.reply_to
|
if original_message.reply_to
|
||||||
message.reply_to_message = original_message.reply_to_message
|
message.reply_to_message = original_message.reply_to_message
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue