summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-06-07 15:52:07 +0200
committerGitHub <noreply@github.com>2018-06-07 15:52:07 +0200
commit3d262bfc8dc234b6d26bbdda34ffcce180cbb5a5 (patch)
tree3708d24591b9d017eede75454542b189d6a2608f /app/notification.go
parent0ba0af889e3a71d6d5aeb4dd10279d5027d3d8cd (diff)
downloadchat-3d262bfc8dc234b6d26bbdda34ffcce180cbb5a5.tar.gz
chat-3d262bfc8dc234b6d26bbdda34ffcce180cbb5a5.tar.bz2
chat-3d262bfc8dc234b6d26bbdda34ffcce180cbb5a5.zip
Relese5.0 merge master 20180607 (#8927)
* Add missing diagnostics (#8911) * Update diagnostics.go * Update diagnostics.go * Fix push notification styling backwards compatibility (#8913)
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/notification.go b/app/notification.go
index 741dadd9a..a3c1857d5 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -722,6 +722,7 @@ func (a *App) sendPushNotification(post *model.Post, user *model.User, channel *
msg.Badge = int(badge.Data.(int64))
}
+ msg.Version = model.PUSH_MESSAGE_V2
msg.Type = model.PUSH_TYPE_MESSAGE
msg.TeamId = channel.TeamId
msg.ChannelId = channel.Id