mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-21 07:12:27 +01:00
Prevent crash
This commit is contained in:
@@ -338,7 +338,8 @@ public class MessageHelper {
|
||||
|
||||
// Build message
|
||||
ContentType ct = new ContentType("multipart/signed");
|
||||
ct.setParameter("micalg", micalg);
|
||||
if (micalg != null)
|
||||
ct.setParameter("micalg", micalg);
|
||||
ct.setParameter("protocol", "application/pgp-signature");
|
||||
String ctx = ct.toString();
|
||||
int slash = ctx.indexOf("/");
|
||||
|
||||
Reference in New Issue
Block a user