[balsa/69-resend-message] send: No multi-part-crypto when resending
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/69-resend-message] send: No multi-part-crypto when resending
- Date: Wed, 2 Mar 2022 23:27:59 +0000 (UTC)
commit 22ed74d7b5e637f2121aac78a45d039d90c896ea
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Mar 2 18:27:25 2022 -0500
send: No multi-part-crypto when resending
libbalsa/send.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libbalsa/send.c b/libbalsa/send.c
index 82415d7f2..c88298cee 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1446,7 +1446,8 @@ create_mime_message(LibBalsaMessage *message,
}
}
- if ((libbalsa_message_get_body_list(message) != NULL) && !postponing) {
+ if ((libbalsa_message_get_user_header(message, "X-Balsa-Resend") == NULL) &&
+ (libbalsa_message_get_body_list(message) != NULL) && !postponing) {
LibBalsaMsgCreateResult crypt_res =
do_multipart_crypto(message, &mime_root, parent, error);
if (crypt_res != LIBBALSA_MESSAGE_CREATE_OK) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]