mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-1302 fixing hiding email adddress
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user