Send e-mail message reply only to original sender

This commit is contained in:
Patrick Gansterer 2020-02-18 19:37:51 +01:00
parent 5426420e8f
commit 7f375baf49

View file

@ -49,7 +49,6 @@ class MessagesMailReceiver
else
message.subject = I18n.t('messages.model.reply_subject', subject: message.reply_to_message.subject)
end
message.add_recipients @message.recipients.pluck(:id)
message.add_recipients [@message.sender_id]
message.save!