Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
4394c3ea
Commit
4394c3ea
authored
Nov 07, 2021
by
Laurent Montel
😁
Browse files
Return checks info
parent
86c1bee3
Pipeline
#95371
canceled with stage
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/scamdetection/scamdetectioninfo.cpp
View file @
4394c3ea
...
...
@@ -42,8 +42,7 @@ bool ScamDetectionInfo::isValid() const
ScamDetectionInfo
::
ScamDetectionFields
ScamDetectionInfo
::
scamChecks
()
const
{
// TODO
return
{};
return
mFields
;
}
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
<<
"Enabled "
<<
t
.
enabled
();
d
<<
"DomainOrName "
<<
t
.
domainOrEmail
();
d
<<
"scamChecks "
<<
t
.
scamChecks
();
return
d
;
}
...
...
messageviewer/src/scamdetection/scamdetectioninfo.h
View file @
4394c3ea
...
...
@@ -41,6 +41,7 @@ public:
Q_REQUIRED_RESULT
bool
operator
==
(
const
ScamDetectionInfo
&
other
)
const
;
private:
ScamDetectionFields
mFields
;
QString
mDomainOrEmail
;
bool
mEnabled
=
false
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment