Add channel_id to fcm data

This commit is contained in:
Mike Schwörer 2024-06-15 20:13:17 +02:00
parent b68f3bdb23
commit e6fbf85e6e
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

@ -84,6 +84,7 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
"trimmed": langext.Conditional(msg.NeedsTrim(), "true", "false"),
"title": msg.Title,
"channel": channel.DisplayName,
"channel_id": channel.ChannelID,
"body": langext.Coalesce(msg.TrimmedContent(), ""),
},
}