Set subject when forwarding a message as attachment

This commit is contained in:
cketti 2021-10-22 19:46:31 +02:00
parent e72df96603
commit 0f278ebfe2

View file

@ -66,7 +66,8 @@ public class MessageViewInfo {
}
public static MessageViewInfo createForMetadataOnly(Message message, boolean isMessageIncomplete) {
return new MessageViewInfo(message, isMessageIncomplete, null, null, false, null, null, null, null, null, null);
String subject = message.getSubject();
return new MessageViewInfo(message, isMessageIncomplete, null, subject, false, null, null, null, null, null, null);
}
MessageViewInfo withCryptoData(CryptoResultAnnotation rootPartAnnotation, String extraViewableText,