Don't force plain text when PGP/INLINE is not enabled

This commit is contained in:
cketti 2016-09-11 03:15:53 +02:00
parent 78d3b011e6
commit 4430abaf30

View file

@ -370,6 +370,10 @@ public class RecipientPresenter implements PermissionPingCallback {
}
public boolean isForceTextMessageFormat() {
if (!cryptoEnablePgpInline) {
return false;
}
ComposeCryptoStatus cryptoStatus = getCurrentCryptoStatus();
return cryptoStatus.isEncryptionEnabled() || cryptoStatus.isSigningEnabled();
}