diff options
author | Jesse Hallam <jesse.hallam@gmail.com> | 2018-10-25 13:25:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 13:25:27 -0400 |
commit | 937b6480d534b3051cadf4a892a9aa210bec579a (patch) | |
tree | 7f8bcbde439f25cc9c0e405329ddf8a788208319 /app/app.go | |
parent | 1074a1c7ab0769b0da3525282fcabf961e2ddfce (diff) | |
download | chat-937b6480d534b3051cadf4a892a9aa210bec579a.tar.gz chat-937b6480d534b3051cadf4a892a9aa210bec579a.tar.bz2 chat-937b6480d534b3051cadf4a892a9aa210bec579a.zip |
* 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.go | 8 |
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") } |