diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt index 12fd286054..e7833c2824 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt @@ -719,7 +719,7 @@ class MessageItemFactory @Inject constructor( return MessageVoiceBroadcastItem_() .attributes(attributes) .highlighted(highlight) - .playingState(messageContent.voiceBroadcastStateStr.toEpoxyCharSequence()) + .voiceBroadcastState(messageContent.voiceBroadcastState) .leftGuideline(avatarSizeProvider.leftGuideline) .callback(callback) } diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceBroadcastItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceBroadcastItem.kt index 0476ea2a93..bd6a5b7bdb 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceBroadcastItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceBroadcastItem.kt @@ -25,7 +25,6 @@ import im.vector.app.R import im.vector.app.features.home.room.detail.RoomDetailAction import im.vector.app.features.home.room.detail.timeline.TimelineEventController import im.vector.app.features.voicebroadcast.model.VoiceBroadcastState -import im.vector.lib.core.utils.epoxy.charsequence.EpoxyCharSequence @EpoxyModelClass abstract class MessageVoiceBroadcastItem : AbsMessageItem() { @@ -34,7 +33,7 @@ abstract class MessageVoiceBroadcastItem : AbsMessageItem