diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-02 09:01:50 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-02 09:01:50 -0700 |
commit | 3863c3c15e72a278ed439c02b189eba6cccd94ac (patch) | |
tree | ef16793aa00a158da78b8e5bac5e001636d1ed6f /utils | |
parent | b2052de746f8e5f4ca600142fd43b64ceb6c8b84 (diff) | |
download | chat-3863c3c15e72a278ed439c02b189eba6cccd94ac.tar.gz chat-3863c3c15e72a278ed439c02b189eba6cccd94ac.tar.bz2 chat-3863c3c15e72a278ed439c02b189eba6cccd94ac.zip |
Adding offical build function
Diffstat (limited to 'utils')
-rw-r--r-- | utils/diagnostic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/diagnostic.go b/utils/diagnostic.go index 2f3893cec..9a61ae934 100644 --- a/utils/diagnostic.go +++ b/utils/diagnostic.go @@ -22,7 +22,7 @@ const ( ) func SendDiagnostic(data model.StringMap) *model.AppError { - if Cfg.PrivacySettings.EnableDiagnostic && model.BuildNumber != "_BUILD_NUMBER_" { + if Cfg.PrivacySettings.EnableDiagnostic && !model.IsOfficalBuild() { query := "?" for name, value := range data { |