summaryrefslogtreecommitdiffstats
path: root/app/app.go
diff options
context:
space:
mode:
authorJesse Hallam <jesse.hallam@gmail.com>2018-10-25 13:25:27 -0400
committerGitHub <noreply@github.com>2018-10-25 13:25:27 -0400
commit937b6480d534b3051cadf4a892a9aa210bec579a (patch)
tree7f8bcbde439f25cc9c0e405329ddf8a788208319 /app/app.go
parent1074a1c7ab0769b0da3525282fcabf961e2ddfce (diff)
downloadchat-937b6480d534b3051cadf4a892a9aa210bec579a.tar.gz
chat-937b6480d534b3051cadf4a892a9aa210bec579a.tar.bz2
chat-937b6480d534b3051cadf4a892a9aa210bec579a.zip
MM-12342: merge the experimental channel store (#9681)HEADmaster
* MM-12342: merge the experimental channel store * gofmt after upgrading to go 1.11
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/app.go b/app/app.go
index d8974a48c..38756a936 100644
--- a/app/app.go
+++ b/app/app.go
@@ -219,14 +219,6 @@ func New(options ...Option) (outApp *App, outErr error) {
app.Srv.Store = app.newStore()
- app.AddConfigListener(func(_, current *model.Config) {
- if current.SqlSettings.EnablePublicChannelsMaterialization != nil && !*current.SqlSettings.EnablePublicChannelsMaterialization {
- app.Srv.Store.Channel().DisableExperimentalPublicChannelsMaterialization()
- } else {
- app.Srv.Store.Channel().EnableExperimentalPublicChannelsMaterialization()
- }
- })
-
if err := app.ensureAsymmetricSigningKey(); err != nil {
return nil, errors.Wrapf(err, "unable to ensure asymmetric signing key")
}