branch: externals/autocrypt
commit a16bf93ba833264b10d19abfa8fa684d9be32081
Author: Philip K <[email protected]>
Commit: Philip K <[email protected]>

    made autocrypt-gossip-p depend on autocrypt-do-gossip
---
 autocrypt.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autocrypt.el b/autocrypt.el
index 246b26ad54..cf86a1f562 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -417,7 +417,8 @@ preference (\"prefer-encrypt\")."
   "Find out if the current message should have gossip headers.
 Argument RECIPIENTS is a list of addresses this message is
 addressed to."
-  (and (autocrypt-mua-call :encrypted-p)
+  (and autocrypt-do-gossip
+       (autocrypt-mua-call :encrypted-p)
        (< 1 (length recipients))
        (cl-every
         (lambda (rec)

Reply via email to