ENGINE-179 update sender identity in re_evaluate_message_rating
authorEdouard Tisserant <edouard@pep-project.org>
Thu, 08 Jun 2017 12:03:50 +0200
changeset 1835ca0126bfcd52
parent 1832 93c627c7f709
child 1842 dcd86e0c4a58
ENGINE-179 update sender identity in re_evaluate_message_rating
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Jun 07 16:12:56 2017 +0200
     1.2 +++ b/src/message_api.c	Thu Jun 08 12:03:50 2017 +0200
     1.3 @@ -2761,6 +2761,10 @@
     1.4      }
     1.5  got_keylist:
     1.6  
     1.7 +    status = update_identity(session, msg->from);
     1.8 +    if (status != PEP_STATUS_OK)
     1.9 +        GOTO(pep_error);
    1.10 +
    1.11      status = amend_rating_according_to_sender_and_recipients(session,
    1.12                                                               &_rating,
    1.13                                                               msg->from,