branch: externals/autocrypt
commit b712fbc71c6f16de546a1b668645f01f9ee4fe44
Author: Philip K <[email protected]>
Commit: Philip K <[email protected]>
fixed missing preference bug
---
autocrypt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autocrypt.el b/autocrypt.el
index 417dc5a656..917f1b9522 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -387,7 +387,7 @@ preference (\"prefer-encrypt\")."
(cond
((setq acc (assoc addr autocrypt-accounts))
(setq keydata (autocrypt-get-keydata acc)
- pref (cadr acc)))
+ pref (caddr acc)))
((setq peer (assoc addr autocrypt-peers))
(setq keydata (autocrypt-peer-pubkey peer)
pref (autocrypt-peer-preference peer))))