[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-65-gfe623589e
paul at claws-mail.org
paul at claws-mail.org
Sat Mar 27 10:42:18 CET 2021
The branch, gtk3 has been updated
via fe623589e667c009b91196b8d6c6e9b744a18251 (commit)
from a4749946995be37ce6fb8f04017b512f7531c967 (commit)
Summary of changes:
src/folder.c | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit fe623589e667c009b91196b8d6c6e9b744a18251
Author: paul <paul at claws-mail.org>
Date: Sat Mar 27 09:42:08 2021 +0000
also show clip icon in summaryview for inline attachments
diff --git a/src/folder.c b/src/folder.c
index 810a90375..79bbf8d85 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -2864,7 +2864,8 @@ static void msginfo_set_mime_flags(GNode *node, gpointer data)
MsgInfo *msginfo = data;
MimeInfo *mimeinfo = node->data;
- if (mimeinfo->disposition == DISPOSITIONTYPE_ATTACHMENT
+ if ((mimeinfo->disposition == DISPOSITIONTYPE_ATTACHMENT ||
+ mimeinfo->disposition == DISPOSITIONTYPE_INLINE)
&& (!mimeinfo->subtype || (strcmp(mimeinfo->subtype, "pgp-signature") &&
strcmp(mimeinfo->subtype, "x-pkcs7-signature") &&
strcmp(mimeinfo->subtype, "pkcs7-signature")))) {
@@ -2878,15 +2879,7 @@ static void msginfo_set_mime_flags(GNode *node, gpointer data)
strcmp(mimeinfo->subtype, "x-pkcs7-signature") &&
strcmp(mimeinfo->subtype, "pkcs7-signature")))
procmsg_msginfo_set_flags(msginfo, 0, MSG_HAS_ATTACHMENT);
- } else if (mimeinfo->disposition == DISPOSITIONTYPE_INLINE &&
- mimeinfo->id == NULL &&
- (strcmp(mimeinfo->subtype, "pgp-signature") &&
- strcmp(mimeinfo->subtype, "x-pkcs7-signature") &&
- strcmp(mimeinfo->subtype, "pkcs7-signature")) &&
- (procmime_mimeinfo_get_parameter(mimeinfo, "name") != NULL ||
- procmime_mimeinfo_get_parameter(mimeinfo, "filename") != NULL)) {
- procmsg_msginfo_set_flags(msginfo, 0, MSG_HAS_ATTACHMENT);
- }
+ }
/* don't descend below top level message for signed and encrypted info */
if (mimeinfo->type == MIMETYPE_MESSAGE)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list