Remove collapse_key from android fcm request
This commit is contained in:
parent
ac299ec7ba
commit
3bae320e07
@ -36,4 +36,5 @@
|
|||||||
|
|
||||||
- [ ] Disable compat | remove code
|
- [ ] Disable compat | remove code
|
||||||
- [x] compat message title
|
- [x] compat message title
|
||||||
- [ ] ...
|
- [ ] ...
|
||||||
|
- [ ] RWLock directly in go - prevent/reduce db-locked exception
|
||||||
|
@ -67,8 +67,7 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
|
|||||||
jsonBody["apns"] = gin.H{}
|
jsonBody["apns"] = gin.H{}
|
||||||
} else if client.Type == models.ClientTypeAndroid {
|
} else if client.Type == models.ClientTypeAndroid {
|
||||||
jsonBody["android"] = gin.H{
|
jsonBody["android"] = gin.H{
|
||||||
"priority": "high",
|
"priority": "high",
|
||||||
"collapse_key": msg.ChannelID.String(),
|
|
||||||
"notification": gin.H{
|
"notification": gin.H{
|
||||||
"event_time": msg.Timestamp().Format(time.RFC3339),
|
"event_time": msg.Timestamp().Format(time.RFC3339),
|
||||||
"title": msg.FormatNotificationTitle(user, channel),
|
"title": msg.FormatNotificationTitle(user, channel),
|
||||||
|
Loading…
Reference in New Issue
Block a user