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()
)
if (container == "ios") {
multicastMessage
.setNotification(
Notification.builder()
.setTitle(title)
.setBody(message)
.build()
)
} else {
multicastMessage
.putData("title", title)
.putData("message", message)
}
multicastMessage
.setNotification(
Notification.builder()
.setTitle(title)
.setBody(message)
.build()
)
if (roomId != null) {
multicastMessage.putData("room_id", roomId.toString())