From e0c34ad3043969762faf1c5268bd9607c190b80f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Mar 2018 00:53:55 +0300 Subject: Auto validate to field in reply mail. --- src/gui/windows/mailviewwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index f81921f4a..ea0aa9a91 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -206,6 +206,11 @@ void MailViewWindow::action(const ActionEvent &event) mailEditWindow->setTo(mMessage->sender); mailEditWindow->setSubject("Re:" + mMessage->title); mailEditWindow->setMessage(">" + mMessage->text); + mail2Handler->queueCheckName(MailQueueType::ValidateTo, + mMessage->sender, + std::string(), + std::string(), + 0); scheduleDelete(); } } -- cgit v1.2.3-70-g09d2