Remove FoodsoftConfig[:name] from received mails

This commit is contained in:
Patrick Gansterer 2017-08-14 09:55:09 +02:00
parent 52dc7b1387
commit b3a6884cf1

View file

@ -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