diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-12-22 07:52:02 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-12-22 07:52:02 -0500 |
commit | c434e84114ef14b7a53ad25c658aaf5156f6d949 (patch) | |
tree | d5b26a01be90e80ef29e4be6cf5c0cdfdb571b96 /api/post.go | |
parent | 64a86bd32f82b8c9c943c38949f6f7e105bcd54e (diff) | |
download | chat-c434e84114ef14b7a53ad25c658aaf5156f6d949.tar.gz chat-c434e84114ef14b7a53ad25c658aaf5156f6d949.tar.bz2 chat-c434e84114ef14b7a53ad25c658aaf5156f6d949.zip |
Adding session cache directly to web-conn (#4861)
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/post.go b/api/post.go index 00cf21dda..ff3c1e510 100644 --- a/api/post.go +++ b/api/post.go @@ -705,7 +705,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel * } if userAllowsEmails && status.Status != model.STATUS_ONLINE { - go sendNotificationEmail(c, post, profileMap[id], channel, team, senderName[id], sender) + sendNotificationEmail(c, post, profileMap[id], channel, team, senderName[id], sender) } } } @@ -801,7 +801,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel * } if DoesStatusAllowPushNotification(profileMap[id], status, post.ChannelId) { - go sendPushNotification(post, profileMap[id], channel, senderName[id], true) + sendPushNotification(post, profileMap[id], channel, senderName[id], true) } } @@ -814,7 +814,7 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel * } if DoesStatusAllowPushNotification(profileMap[id], status, post.ChannelId) { - go sendPushNotification(post, profileMap[id], channel, senderName[id], false) + sendPushNotification(post, profileMap[id], channel, senderName[id], false) } } } |