diff options
author | Chris <ccbrown112@gmail.com> | 2018-01-05 16:17:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 16:17:57 -0600 |
commit | 591ef9f352efd98a85e6d04c0c9072c4c2987527 (patch) | |
tree | 2768aed148df1fba4a3e6d9c43057cf64199d6a1 /app/notification.go | |
parent | fd3fa8f8dcfa5de42a16db9b62e1d6628f43b0fd (diff) | |
download | chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.gz chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.bz2 chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.zip |
Remove utils.ClientCfg and utils.ClientCfgHash (#8041)
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
Diffstat (limited to 'app/notification.go')
-rw-r--r-- | app/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification.go b/app/notification.go index a7093e17f..4929d56f4 100644 --- a/app/notification.go +++ b/app/notification.go @@ -693,7 +693,7 @@ func (a *App) ClearPushNotification(userId string, channelId string) { } func (a *App) sendToPushProxy(msg model.PushNotification, session *model.Session) { - msg.ServerId = utils.CfgDiagnosticId + msg.ServerId = a.DiagnosticId() request, _ := http.NewRequest("POST", *a.Config().EmailSettings.PushNotificationServer+model.API_URL_SUFFIX_V1+"/send_push", strings.NewReader(msg.ToJson())) |