only add draft header to drafts

This commit is contained in:
Vincent Breitmoser 2018-11-28 22:09:49 +01:00
parent 4c295e2f1b
commit d0a1535547

View file

@ -112,7 +112,9 @@ public class PgpMessageBuilder extends MessageBuilder {
}
addAutocryptHeaderIfAvailable(openPgpKeyId);
addDraftStateHeader();
if (isDraft()) {
addDraftStateHeader();
}
startOrContinueBuildMessage(null);
}