thunderbird: configure signature if set (#4852)
The identity's signature will be configured according to signature.text and signature.showSignature. Signature commands are not supported by Thunderbird.
This commit is contained in:
parent
51e44a13ac
commit
e13aa9e287
4 changed files with 14 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ let
|
|||
"mail.identity.id_${id}.fullName" = account.realName;
|
||||
"mail.identity.id_${id}.useremail" = address;
|
||||
"mail.identity.id_${id}.valid" = true;
|
||||
"mail.identity.id_${id}.htmlSigText" =
|
||||
if account.signature.showSignature == "none" then
|
||||
""
|
||||
else
|
||||
account.signature.text;
|
||||
} // optionalAttrs (account.gpg != null) {
|
||||
"mail.identity.id_${id}.attachPgpKey" = false;
|
||||
"mail.identity.id_${id}.autoEncryptDrafts" = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue