You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2016/06/01 06:59:40 UTC
incubator-ponymail git commit: default to not showing to/cc for
anonymous people
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 622d5a173 -> 3acd303a4
default to not showing to/cc for anonymous people
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/3acd303a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/3acd303a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/3acd303a
Branch: refs/heads/master
Commit: 3acd303a406f131090f94ea6e2062d9d16e320e4
Parents: 622d5a1
Author: humbedooh <hu...@apache.org>
Authored: Wed Jun 1 08:59:25 2016 +0200
Committer: humbedooh <hu...@apache.org>
Committed: Wed Jun 1 08:59:25 2016 +0200
----------------------------------------------------------------------
site/api/email.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/3acd303a/site/api/email.lua
----------------------------------------------------------------------
diff --git a/site/api/email.lua b/site/api/email.lua
index 429eae8..920219e 100644
--- a/site/api/email.lua
+++ b/site/api/email.lua
@@ -139,7 +139,7 @@ function handle(r)
-- Anonymize to/cc if full_headers is false
- if not config.full_headers then
+ if not config.full_headers or not account then
doc.to = nil
doc.cc = nil
end