Allow disabling signature when composing

This commit is contained in:
M66B
2019-09-07 10:30:46 +02:00
parent afaab7c91f
commit a3dbd6e9ed
7 changed files with 1913 additions and 4 deletions

View File

@@ -252,7 +252,7 @@ public class MessageHelper {
body.append(mdoc.body().html());
// When sending message
if (identity != null) {
if (identity != null && message.signature) {
if (!TextUtils.isEmpty(identity.signature)) {
Document sdoc = Jsoup.parse(identity.signature);
if (sdoc.body() != null) {