Ensure that decrypt again uses preprocessing
authorAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 08:18:23 +0000 (09:18 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 08:18:23 +0000 (09:18 +0100)
* src/windowmessages.cpp (EXT_API_DECRYPT): call
pre process message.

--
This ensures that our usual preprocessing is done
when decrypting again.

GnuPG-Bug-Id: T4241

src/windowmessages.cpp

index b311030..58a42cc 100644 (file)
@@ -356,6 +356,7 @@ gpgol_window_proc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 
           log_debug ("%s:%s: Decrypting %p again.",
                      SRCNAME, __func__, mail);
+          mail->preProcessMessage_m ();
           mail->decryptVerify_o ();
           TRETURN 0;
         }