Use the new RtcNotification instead of deprecated CallNotify
This commit is contained in:
+1
@@ -52,6 +52,7 @@ sealed interface NotificationContent {
|
||||
data class CallNotify(
|
||||
val senderId: UserId,
|
||||
val type: CallNotifyType,
|
||||
val expirationTimestampMillis: Long
|
||||
) : MessageLike
|
||||
|
||||
data object CallHangup : MessageLike
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user