Home GnuPG
Diffusion GpgOL 4351cc3cb5c6

Bail out immediately on send if crypt not needed

Description

Bail out immediately on send if crypt not needed

* src/mailitem-events.cpp (EVENT_SINK_INVOKE): Break early
in case mail is not encrypted.

This should increase stability when sending mails and
this fixes that the body of unencrypted mails is not
wiped *cough*