Add legacy call invite state events and notifications (#2552)

* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
Jorge Martin Espinosa 2024-03-14 16:29:06 +01:00 committed by GitHub
parent 207d142bfd
commit 67d79059f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
179 changed files with 211 additions and 13 deletions

View file

@ -49,7 +49,9 @@ data class NotificationData(
sealed interface NotificationContent {
sealed interface MessageLike : NotificationContent {
data object CallAnswer : MessageLike
data object CallInvite : MessageLike
data class CallInvite(
val senderId: UserId,
) : MessageLike
data object CallHangup : MessageLike
data object CallCandidates : MessageLike
data object KeyVerificationReady : MessageLike

View file

@ -98,4 +98,6 @@ data class FailedToParseStateContent(
val error: String
) : EventContent
data object LegacyCallInviteContent : EventContent
data object UnknownContent : EventContent