diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-23 20:34:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-23 20:55:58 +0300 |
commit | 79864826790a33a3583819fe02893eed010381d9 (patch) | |
tree | 33b90cf3613900c9de45715e5fea69a721d26f10 /src/actions/commands.cpp | |
parent | 4da8a6304b5b7bb4d2b655ed3471c0ff4a7d610a (diff) | |
download | manaverse-79864826790a33a3583819fe02893eed010381d9.tar.gz manaverse-79864826790a33a3583819fe02893eed010381d9.tar.bz2 manaverse-79864826790a33a3583819fe02893eed010381d9.tar.xz manaverse-79864826790a33a3583819fe02893eed010381d9.zip |
Add mailqueuetype enum for mail queue types.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 8 |
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 { |