mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-09 00:28:42 +01:00
allowing unified push payloads to have default nulls
- fixes crash on non message unified push events
This commit is contained in:
parent
4967e44fd6
commit
0eb8db3862
@ -70,8 +70,8 @@ class UnifiedPushMessageReceiver : MessagingReceiver() {
|
||||
|
||||
@Serializable
|
||||
data class Notification(
|
||||
@SerialName("event_id") val eventId: String?,
|
||||
@SerialName("room_id") val roomId: String?,
|
||||
@SerialName("event_id") val eventId: String? = null,
|
||||
@SerialName("room_id") val roomId: String? = null,
|
||||
)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user