Add note about IPM.Note.SMIME in mimemaker
authorAndre Heinecke <aheinecke@gnupg.org>
Mon, 6 May 2019 10:14:55 +0000 (12:14 +0200)
committerAndre Heinecke <aheinecke@gnupg.org>
Mon, 6 May 2019 10:14:55 +0000 (12:14 +0200)
* src/mimemaker.cpp (finalize_message): Add a note.

src/mimemaker.cpp

index b259da7..2199965 100644 (file)
@@ -1229,7 +1229,10 @@ finalize_message (LPMESSAGE message, mapi_attach_item_t *att_table,
          not immediately showing the GpgOL icon but gives other
          clients that do not have GpgOL installed a better chance
          to handle the mail. */
-      prop.Value.lpszA = xstrdup ("IPM.Note.SMIME.MultipartSigned");
+      /* FIXME according to MSOXSMIME it should be possible to use
+       * IPM.Note.SMIME here for encrypted mails */
+      prop.Value.lpszA = encrypt ? xstrdup ("IPM.Note.SMIME.MultipartSigned") :
+                                   xstrdup ("IPM.Note.SMIME.MultipartSigned");
     }
   else if (encrypt)
     {