xi-conversations

Minimal clone of thunderbird conversations
git clone https://git.ce9e.org/xi-conversations.git

commit
e3ab4a680c87e0472424ccdd6df257f6e75f70a1
parent
5c2ede80ba50d0eb850e2989e8d73a2a8acea8c6
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-08-30 10:04
do not report signatures as encrypted

Diffstat

M src/js/util.js 5 ++++-

1 files changed, 4 insertions, 1 deletions


diff --git a/src/js/util.js b/src/js/util.js

@@ -17,7 +17,10 @@ var getBody = function(msgPart) {
   17    17 		return [msgPart.body, msgPart.isEncrypted];
   18    18 	} else if (msgPart.parts) {
   19    19 		var bodies = [];
   20    -1 		var encrypted = msgPart.isEncrypted;
   -1    20 		var encrypted = (
   -1    21 			msgPart.isEncrypted
   -1    22 			&& !msgPart.contentType.startsWith('multipart/signed')
   -1    23 		);
   21    24 		for (var part of msgPart.parts) {
   22    25 			var [body, e] = getBody(part);
   23    26 			if (body) {