Use the new RtcNotification instead of deprecated CallNotify

This commit is contained in:
Valere 2025-09-16 09:00:17 +02:00
parent 0d7d33ca92
commit 508aef98ff
27 changed files with 69 additions and 38 deletions

View file

@ -52,6 +52,7 @@ sealed interface NotificationContent {
data class CallNotify(
val senderId: UserId,
val type: CallNotifyType,
val expirationTimestampMillis: Long
) : MessageLike
data object CallHangup : MessageLike

View file

@ -15,5 +15,6 @@ object EventType {
// Call Events
const val CALL_INVITE = "m.call.invite"
const val CALL_NOTIFY = "m.call.notify"
const val RTC_NOTIFICATION = "org.matrix.msc4075.rtc.notification"
}