From cc834e74d467aad48516620cb7ebd3a7ce23aa67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 11 Jun 2019 19:30:13 +0200 Subject: [PATCH] MM-16154: Allow to have town-square in ExperimentalDefaultChannels (#11112) --- app/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/channel.go b/app/channel.go index 3845f8e0f8..d307f129b6 100644 --- a/app/channel.go +++ b/app/channel.go @@ -50,7 +50,7 @@ func (a *App) DefaultChannelNames() []string { if len(a.Config().TeamSettings.ExperimentalDefaultChannels) == 0 { names = append(names, "off-topic") } else { - seenChannels := map[string]bool{} + seenChannels := map[string]bool{"town-square": true} for _, channelName := range a.Config().TeamSettings.ExperimentalDefaultChannels { if !seenChannels[channelName] { names = append(names, channelName)