Commit a9b417b7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Return if we can't set online

parent bc5f6c44
Pipeline #27798 failed with stage
in 107 minutes and 41 seconds
......@@ -347,7 +347,10 @@ void ComposerViewBase::send(MessageComposer::MessageSender::SendMethod method, M
}
if (mSendMethod == MessageComposer::MessageSender::SendImmediate && checkMailDispatcher) {
MessageComposer::Util::sendMailDispatcherIsOnline(m_parentWidget);
if (!MessageComposer::Util::sendMailDispatcherIsOnline(m_parentWidget)) {
qCWarning(MESSAGECOMPOSER_LOG) << "Impossible to set sendmaildispatcher online. Please verify it";
return;
}
}
readyForSending();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment