This commit is contained in:
M66B 2019-09-07 11:03:04 +02:00
parent b64f68d551
commit 972dc975b1
1 changed files with 2 additions and 2 deletions

View File

@ -252,8 +252,8 @@ public class MessageHelper {
body.append(mdoc.body().html());
// When sending message
if (identity != null && message.signature) {
if (!TextUtils.isEmpty(identity.signature)) {
if (identity != null) {
if (!TextUtils.isEmpty(identity.signature) && message.signature) {
Document sdoc = Jsoup.parse(identity.signature);
if (sdoc.body() != null) {
if (usenet) // https://www.ietf.org/rfc/rfc3676.txt