summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-23 20:34:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-23 20:55:58 +0300
commit79864826790a33a3583819fe02893eed010381d9 (patch)
tree33b90cf3613900c9de45715e5fea69a721d26f10 /src/actions
parent4da8a6304b5b7bb4d2b655ed3471c0ff4a7d610a (diff)
downloadplus-79864826790a33a3583819fe02893eed010381d9.tar.gz
plus-79864826790a33a3583819fe02893eed010381d9.tar.bz2
plus-79864826790a33a3583819fe02893eed010381d9.tar.xz
plus-79864826790a33a3583819fe02893eed010381d9.zip
Add mailqueuetype enum for mail queue types.
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
{