From 79864826790a33a3583819fe02893eed010381d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Aug 2017 20:34:31 +0300 Subject: Add mailqueuetype enum for mail queue types. --- src/actions/commands.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/actions') 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 { -- cgit v1.2.3-70-g09d2