test #314

Merged
klaus merged 2 commits from test into main 2025-05-12 02:12:47 +00:00
1 changed files with 7 additions and 13 deletions
Showing only changes of commit b915ace6ff - Show all commits

View File

@ -56,19 +56,13 @@ class FcmService(private val pushTokenService: PushTokenService) {
.build() .build()
) )
if (container == "ios") { multicastMessage
multicastMessage .setNotification(
.setNotification( Notification.builder()
Notification.builder() .setTitle(title)
.setTitle(title) .setBody(message)
.setBody(message) .build()
.build() )
)
} else {
multicastMessage
.putData("title", title)
.putData("message", message)
}
if (roomId != null) { if (roomId != null) {
multicastMessage.putData("room_id", roomId.toString()) multicastMessage.putData("room_id", roomId.toString())