Commit 4394c3ea authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Return checks info

parent 86c1bee3
Pipeline #95371 canceled with stage
...@@ -42,8 +42,7 @@ bool ScamDetectionInfo::isValid() const ...@@ -42,8 +42,7 @@ bool ScamDetectionInfo::isValid() const
ScamDetectionInfo::ScamDetectionFields ScamDetectionInfo::scamChecks() const ScamDetectionInfo::ScamDetectionFields ScamDetectionInfo::scamChecks() const
{ {
// TODO return mFields;
return {};
} }
QDebug operator<<(QDebug d, const MessageViewer::ScamDetectionInfo &t) QDebug operator<<(QDebug d, const MessageViewer::ScamDetectionInfo &t)
...@@ -51,6 +50,7 @@ QDebug operator<<(QDebug d, const MessageViewer::ScamDetectionInfo &t) ...@@ -51,6 +50,7 @@ QDebug operator<<(QDebug d, const MessageViewer::ScamDetectionInfo &t)
d << "isValid: " << t.isValid(); d << "isValid: " << t.isValid();
d << "Enabled " << t.enabled(); d << "Enabled " << t.enabled();
d << "DomainOrName " << t.domainOrEmail(); d << "DomainOrName " << t.domainOrEmail();
d << "scamChecks " << t.scamChecks();
return d; return d;
} }
......
...@@ -41,6 +41,7 @@ public: ...@@ -41,6 +41,7 @@ public:
Q_REQUIRED_RESULT bool operator==(const ScamDetectionInfo &other) const; Q_REQUIRED_RESULT bool operator==(const ScamDetectionInfo &other) const;
private: private:
ScamDetectionFields mFields;
QString mDomainOrEmail; QString mDomainOrEmail;
bool mEnabled = false; 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