Browse Source

Changed condition to `*rating < PEP_rating_reliable` since that's the determining factor for not encrypting.

JSON-183
Jörg Knobloch 8 months ago
parent
commit
5f16970cd0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/ev_server.cc

+ 1
- 1
server/ev_server.cc View File

@ -80,7 +80,7 @@ PEP_STATUS outgoing_message_rating_with_partner_info(PEP_SESSION session, messag
// Nota bene: outgoing_message_rating calls update_identity() on every recipient,
// but these changes in their identities are not given back to the JSON-RPC clients.
PEP_STATUS status = outgoing_message_rating(session, msg, rating);
if(*rating == PEP_rating_unencrypted)
if(*rating < PEP_rating_reliable)
{
// if mail would be sent unencrypted, we also cannot encrypt/protect the subject,
// so handle it the same way as if there were non-pEp recipients.


Loading…
Cancel
Save