Fixed decrypting mail from trusted peers never returning green
authorEdouard Tisserant
Thu, 14 Jan 2016 16:01:42 +0100
changeset 407f4249c362ab1
parent 406 f1226a0372d8
child 408 b1ddd2a9b60c
Fixed decrypting mail from trusted peers never returning green
src/message_api.c
     1.1 --- a/src/message_api.c	Thu Jan 14 15:59:40 2016 +0100
     1.2 +++ b/src/message_api.c	Thu Jan 14 16:01:42 2016 +0100
     1.3 @@ -1076,7 +1076,7 @@
     1.4              *color = PEP_rating_unreliable;
     1.5          }
     1.6          else if (*color >= PEP_rating_reliable &&
     1.7 -               kl_color == PEP_rating_reliable) {
     1.8 +               kl_color >= PEP_rating_reliable) {
     1.9              if (!(src->from && src->from->user_id && src->from->user_id[0])) {
    1.10                  *color = PEP_rating_unreliable;
    1.11              }