Commit 3dac516e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Return scamChecks

parent 880233a4
Pipeline #93036 passed with stage
in 42 minutes and 48 seconds
......@@ -40,6 +40,12 @@ bool ScamDetectionInfo::isValid() const
return !mDomainOrEmail.isEmpty();
}
ScamDetectionInfo::ScamDetectionFields ScamDetectionInfo::scamChecks() const
{
// TODO
return {};
}
QDebug operator<<(QDebug d, const MessageViewer::ScamDetectionInfo &t)
{
d << "isValid: " << t.isValid();
......
......@@ -36,6 +36,8 @@ public:
Q_REQUIRED_RESULT bool isValid() const;
Q_REQUIRED_RESULT ScamDetectionInfo::ScamDetectionFields scamChecks() const;
private:
QString mDomainOrEmail;
bool mEnabled = false;
......
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