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 9951558234..35d92b0a23 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 @@ -222,7 +222,6 @@ class MessageItemFactory @Inject constructor( .attributes(attributes) .eventId(informationData.eventId) .pollQuestion(pollContent.pollCreationInfo?.question?.question ?: "") - .pollResponseSummary(pollResponseSummary) .pollSent(isPollSent) .totalVotesText(totalVotesText) .optionViewStates(optionViewStates) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/PollItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/PollItem.kt index 013e3e4774..356298a14a 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/PollItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/PollItem.kt @@ -31,9 +31,6 @@ abstract class PollItem : AbsMessageItem() { @EpoxyAttribute var pollQuestion: String? = null - @EpoxyAttribute - var pollResponseSummary: PollResponseData? = null - @EpoxyAttribute var callback: TimelineEventController.Callback? = null