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
203a11f6
Commit
203a11f6
authored
Oct 14, 2021
by
Laurent Montel
😁
Browse files
Fix logic
parent
107f91f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/composer/composerviewbase.cpp
View file @
203a11f6
...
...
@@ -129,7 +129,7 @@ void ComposerViewBase::setMessage(const KMime::Message::Ptr &msg, bool allowDecr
if
(
auto
hrd
=
m_msg
->
headerByType
(
"X-KMail-UnExpanded-To"
))
{
const
QStringList
spl
=
hrd
->
asUnicodeString
().
split
(
QLatin1Char
(
','
));
for
(
const
QString
&
addr
:
spl
)
{
if
(
!
m_recipientsEditor
->
addRecipient
(
addr
,
MessageComposer
::
Recipient
::
To
))
{
if
(
m_recipientsEditor
->
addRecipient
(
addr
,
MessageComposer
::
Recipient
::
To
))
{
resultTooManyRecipients
=
true
;
qCWarning
(
MESSAGECOMPOSER_LOG
)
<<
"Impossible to add recipient."
;
break
;
...
...
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