Browse Source

copy recv_by from src

ENGINE-812
Volker Birk 2 years ago
parent
commit
ac944f3f27
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/message_api.c

+ 6
- 0
src/message_api.c View File

@ -4378,6 +4378,12 @@ static PEP_STATUS _decrypt_message(
dedup_stringlist(_keylist->next);
/* add pEp-related status flags to header */
if (src->recv_by) {
free_identity(msg->recv_by);
msg->recv_by = identity_dup(src->recv_by);
if (!msg->recv_by)
goto enomem;
}
decorate_message(session, msg, *rating, _keylist, false, true);
// Maybe unnecessary


Loading…
Cancel
Save