Unifiedpush: Add default notification if none

Avoid a crash
This commit is contained in:
S1m 2021-09-14 22:54:37 +02:00 committed by SpiritCroc
parent 61662b9774
commit fbfacc68a4
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ import timber.log.Timber
@JsonClass(generateAdapter = true)
data class UnifiedPushMessage(
val notification: Notification
val notification: Notification = Notification()
)
@JsonClass(generateAdapter = true)