Commit 6d7b0ebb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to check when white list and domain are empty

parent ced5e1a6
......@@ -40,6 +40,10 @@ ConfirmAddressInterface::~ConfirmAddressInterface()
bool ConfirmAddressInterface::exec(const MessageComposer::PluginEditorCheckBeforeSendParams &params)
if (mEnabled) {
// not configurated => validate it.
if (mDomains.isEmpty() && mWhiteLists.isEmpty()) {
return true;
QPointer<ConfirmAddressDialog> dlg = new ConfirmAddressDialog(parentWidget());
//TODO use params
Supports Markdown
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