summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 18560f8df..557d7891a 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -567,14 +567,12 @@ impHandler(sendMail)
{
if (settings.enableNewMailSystem)
{
- if (mail2Handler->queueSendMail(name,
+ mail2Handler->queueCheckName(MailQueueType::SendMail,
+ name,
// TRANSLATORS: quick mail message caption
_("Quick message"),
text,
- 0))
- {
- mail2Handler->requestCheckName(name);
- }
+ 0);
}
else
{