summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailviewwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/mailviewwindow.cpp')
-rw-r--r--src/gui/windows/mailviewwindow.cpp5
1 files changed, 5 insertions, 0 deletions
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();
}
}