Set subject when forwarding a message as attachment
This commit is contained in:
parent
e72df96603
commit
0f278ebfe2
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue