Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM Messagelib
Commits
bb8aa0e7
Commit
bb8aa0e7
authored
May 13, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't show "Me" when we have several identity.
parent
f77cc5cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
messagecore/src/utils/stringutil.cpp
messagecore/src/utils/stringutil.cpp
+1
-1
No files found.
messagecore/src/utils/stringutil.cpp
View file @
bb8aa0e7
...
...
@@ -549,7 +549,7 @@ QString emailAddrAsAnchor(const KMime::Types::Mailbox::List &mailboxList,
+
QString
::
fromLatin1
(
QUrl
::
toPercentEncoding
(
KEmailAddress
::
encodeMailtoUrl
(
mailbox
.
prettyAddress
(
KMime
::
Types
::
Mailbox
::
QuoteWhenNecessary
)).
path
()))
+
QLatin1String
(
"
\"
"
)
+
cssStyle
+
QLatin1Char
(
'>'
);
}
const
bool
foundMe
=
im
->
identityForAddress
(
mailbox
.
prettyAddress
())
!=
KIdentityManagement
::
Identity
::
null
();
const
bool
foundMe
=
(
im
->
identities
().
count
()
==
1
)
&&
(
im
->
identityForAddress
(
mailbox
.
prettyAddress
())
!=
KIdentityManagement
::
Identity
::
null
()
)
;
const
QString
i18nMe
=
i18nc
(
"signal that this email is defined in my identity"
,
"Me"
);
if
(
display
==
DisplayNameOnly
)
{
if
(
!
mailbox
.
name
().
isEmpty
())
{
// Fallback to the email address when the name is not set.
...
...
Write
Preview
Markdown
is supported
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