Skip to content

Commit

Permalink
Merge pull request #46 from mattermost/fcm-high
Browse files Browse the repository at this point in the history
Set FCM notifications as High priority
  • Loading branch information
cpanato committed Mar 28, 2019
2 parents eb7f808 + 3759513 commit a3f5f2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/android_notification_server.go
Expand Up @@ -63,8 +63,9 @@ func (me *AndroidNotificationServer) SendNotification(msg *PushNotification) Pus
}

fcmMsg := &fcm.Message{
To: msg.DeviceId,
Data: data,
To: msg.DeviceId,
Data: data,
Priority: "high",
}

if len(me.AndroidPushSettings.AndroidApiKey) > 0 {
Expand Down

0 comments on commit a3f5f2d

Please sign in to comment.