MDL-53262 inboundmessage: Fix inconsistent confirm From vs email body

This commit is contained in:
Brendan Heywood
2016-03-20 15:51:42 +11:00
parent fed66ad9e2
commit 6aec2748ee
@@ -895,7 +895,7 @@ class manager {
$userfrom->customheaders[] = 'In-Reply-To: ' . $messageid;
// The message will be sent from the intended user.
$eventdata->userfrom = \core_user::get_noreply_user();
$eventdata->userfrom = \core_user::get_support_user();
$eventdata->userto = $USER;
$eventdata->subject = $this->get_reply_subject($this->currentmessagedata->envelope->subject);
$eventdata->fullmessage = get_string('invalidrecipientdescription', 'tool_messageinbound', $this->currentmessagedata);