summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-12-07 15:14:25 -0800
committer=Corey Hulen <corey@hulen.com>2015-12-07 15:14:25 -0800
commit4d6c8a20eefaaef6fec01962759fc5c1c9dc2e02 (patch)
tree6f87f97d58a7052dfe19837e5c2b4cc69bf66094 /utils
parent2ab13b7ad3ffee6670a7a74fa7184735e84e77d9 (diff)
downloadchat-4d6c8a20eefaaef6fec01962759fc5c1c9dc2e02.tar.gz
chat-4d6c8a20eefaaef6fec01962759fc5c1c9dc2e02.tar.bz2
chat-4d6c8a20eefaaef6fec01962759fc5c1c9dc2e02.zip
PLT-1302 fixing hiding email adddress
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/utils/config.go b/utils/config.go
index b65c91538..93edc0214 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -173,14 +173,6 @@ func LoadConfig(fileName string) {
ClientCfg = getClientConfig(Cfg)
}
-func GetSanitizeOptions(c *model.Config) map[string]bool {
- options := map[string]bool{}
- options["fullname"] = c.PrivacySettings.ShowFullName
- options["email"] = c.PrivacySettings.ShowEmailAddress
-
- return options
-}
-
func getClientConfig(c *model.Config) map[string]string {
props := make(map[string]string)