summaryrefslogtreecommitdiffstats
path: root/utils/apns.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-20 07:58:05 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-20 07:58:05 -0400
commit7d8e08ccf6211d3df78eb6cfd4a198df77072540 (patch)
tree8703ffd97990c74e60360b6ddba811eb0065eea1 /utils/apns.go
parent88b3aa4d80e7ee540083f897cdce3f9634c4a8f9 (diff)
parent04bf527966db559523fb0ec317af5076241f1bc5 (diff)
downloadchat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.gz
chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.bz2
chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.zip
Merge pull request #1095 from rgarmsen2295/plt-661
PLT-661 Changed all goroutine functions to use '...AndForget' as the naming convention
Diffstat (limited to 'utils/apns.go')
-rw-r--r--utils/apns.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/apns.go b/utils/apns.go
index 3d07f17ec..06e8ce6ef 100644
--- a/utils/apns.go
+++ b/utils/apns.go
@@ -10,7 +10,7 @@ import (
"github.com/mattermost/platform/model"
)
-func FireAndForgetSendAppleNotify(deviceId string, message string, badge int) {
+func SendAppleNotifyAndForget(deviceId string, message string, badge int) {
go func() {
if err := SendAppleNotify(deviceId, message, badge); err != nil {
l4g.Error(fmt.Sprintf("%v %v", err.Message, err.DetailedError))