Remove collapse_key from android fcm request
This commit is contained in:
parent
ac299ec7ba
commit
3bae320e07
@ -37,3 +37,4 @@
|
|||||||
- [ ] 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
|
||||||
|
@ -68,7 +68,6 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
|
|||||||
} 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