diff options
author | Bruno Wagner & Victor Shyba <bwgpro+victor.shyba@gmail.com> | 2015-02-27 19:08:40 -0300 |
---|---|---|
committer | Pixpoa pairing <pixpoapairing@pixelated-project.org> | 2015-02-27 19:23:09 -0300 |
commit | fab6c7e5e8021ec2e417a1c5d5c9fbe9d405b574 (patch) | |
tree | 02b0869a2c4b1959228049222ac02860c1f6eebb /service | |
parent | 282a0eda3ce5d1f433ce5226e8d5020b2181c7b7 (diff) |
Stop verifying OpenPGP header
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/adapter/model/mail.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/model/mail.py b/service/pixelated/adapter/model/mail.py index 96f2c81c..20cb9a88 100644 --- a/service/pixelated/adapter/model/mail.py +++ b/service/pixelated/adapter/model/mail.py @@ -377,8 +377,7 @@ class PixelatedMail(Mail): @property def encrypted(self): - return self.hdoc.content["headers"].get("OpenPGP", None) is not None or \ - self.hdoc.content["headers"].get("X-Pixelated-encryption-status", "false") == "true" + return self.hdoc.content["headers"].get("X-Pixelated-encryption-status", "false") == "true" @property def bounced(self): |