ENGINE-386: should now decorate all unencrypted messages, no matter what.
authorKrista Bennett <krista@pep-project.org>
Tue, 20 Feb 2018 12:35:30 +0100
changeset 25277b05ea799d96
parent 2526 c254f28206de
child 2528 d4dc200db65e
ENGINE-386: should now decorate all unencrypted messages, no matter what.
src/message_api.c
     1.1 --- a/src/message_api.c	Tue Feb 20 10:16:00 2018 +0100
     1.2 +++ b/src/message_api.c	Tue Feb 20 12:35:30 2018 +0100
     1.3 @@ -1620,8 +1620,8 @@
     1.4          if ((has_pep_user || !session->passive_mode) && 
     1.5              !(flags & PEP_encrypt_flag_force_no_attached_key)) {
     1.6              attach_own_key(session, src);
     1.7 -            decorate_message(src, PEP_rating_undefined, NULL, true);
     1.8          }
     1.9 +        decorate_message(src, PEP_rating_undefined, NULL, true);
    1.10          return PEP_UNENCRYPTED;
    1.11      }
    1.12      else {