applyed dirk's suggestion to prevent flagging BCC mails having empty but not null 'CC' list
authorEdouard Tisserant
Sat, 02 Jul 2016 17:06:41 +0200
changeset 7896fb1630594ac
parent 788 f75a6f866c38
child 790 33f46c1babcc
applyed dirk's suggestion to prevent flagging BCC mails having empty but not null 'CC' list
src/message_api.c
     1.1 --- a/src/message_api.c	Sat Jul 02 16:53:53 2016 +0200
     1.2 +++ b/src/message_api.c	Sat Jul 02 17:06:41 2016 +0200
     1.3 @@ -1046,7 +1046,7 @@
     1.4          //     - App splits mails with BCC in multiple mails.
     1.5          //     - Each email is encrypted separately
     1.6          
     1.7 -        if(_il->next || (src->to && src->to->ident) || src->cc)
     1.8 +        if(_il->next || (src->to && src->to->ident) || (src->cc && src->cc->ident))
     1.9          {
    1.10              // Only one Bcc with no other recipient allowed for now
    1.11              return PEP_ILLEGAL_VALUE;