Make PushData.clientSecret mandatory.

Also do not restore the last session as a fallback, it can lead to error in a multi account context, or even when a ghost pusher send a Push.
This commit is contained in:
Benoit Marty 2025-09-18 10:48:39 +02:00 committed by Benoit Marty
parent 786b68d77e
commit 1cc7afb585
5 changed files with 16 additions and 84 deletions

View file

@ -22,5 +22,5 @@ data class PushData(
val eventId: EventId,
val roomId: RoomId,
val unread: Int?,
val clientSecret: String?,
val clientSecret: String,
)