diff --git a/mattermost/server/bathroom-linux-amd64 b/mattermost/server/bathroom-linux-amd64 index 94c99dc..a891c75 100755 --- a/mattermost/server/bathroom-linux-amd64 +++ b/mattermost/server/bathroom-linux-amd64 Binary files differ diff --git a/mattermost/server/bathroom-linux-amd64 b/mattermost/server/bathroom-linux-amd64 index 94c99dc..a891c75 100755 --- a/mattermost/server/bathroom-linux-amd64 +++ b/mattermost/server/bathroom-linux-amd64 Binary files differ diff --git a/mattermost/server/bathroom.go b/mattermost/server/bathroom.go index ccd6ac8..be31ee8 100644 --- a/mattermost/server/bathroom.go +++ b/mattermost/server/bathroom.go @@ -97,12 +97,11 @@ DoorNames string doorNames []string - InfoIcons string + InfoIcon string UnknownIcons string OpenIcons string ClosedIcons string - infoIcons []string unknownIcons []string openIcons []string closedIcons []string @@ -586,15 +585,6 @@ } } - newConfig.infoIcons = make([]string, 0, 4) - split = strings.Split(newConfig.InfoIcons, ",") - for _, un := range split { - trimmed := strings.Trim(un, ", \t\n") - if trimmed != "" { - newConfig.infoIcons = append(newConfig.infoIcons, trimmed) - } - } - newConfig.unknownIcons = make([]string, 0, 4) split = strings.Split(newConfig.UnknownIcons, ",") for _, un := range split { @@ -651,7 +641,7 @@ } newConfig.settingsJson = map[string]interface{} { - "info_icons": newConfig.infoIcons, + "info_icon": newConfig.InfoIcon, "unknown_icons": newConfig.unknownIcons, "open_icons": newConfig.openIcons, "closed_icons": newConfig.closedIcons,