From bd38595ab5747abb50c371152756758f832e996a Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Thu, 23 Dec 2021 15:11:02 +0100 Subject: [PATCH] [merge] Put poll in message bubble Change-Id: Ifebbc53cd1c716b8b890e63f536b258c68b4c1cf --- .../app/features/home/room/detail/timeline/item/PollItem.kt | 5 +++++ 1 file changed, 5 insertions(+) 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 1308fa49c8..31d36f12bd 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 @@ -16,6 +16,7 @@ package im.vector.app.features.home.room.detail.timeline.item +import android.content.Context import android.widget.LinearLayout import android.widget.TextView import androidx.core.view.children @@ -83,4 +84,8 @@ abstract class PollItem : AbsMessageItem() { companion object { private const val STUB_ID = R.id.messageContentPollStub } + + override fun messageBubbleAllowed(context: Context): Boolean { + return true + } }