[merge] Put poll in message bubble

Change-Id: Ifebbc53cd1c716b8b890e63f536b258c68b4c1cf
This commit is contained in:
SpiritCroc 2021-12-23 15:11:02 +01:00
parent 38d16c98e3
commit bd38595ab5

View file

@ -16,6 +16,7 @@
package im.vector.app.features.home.room.detail.timeline.item package im.vector.app.features.home.room.detail.timeline.item
import android.content.Context
import android.widget.LinearLayout import android.widget.LinearLayout
import android.widget.TextView import android.widget.TextView
import androidx.core.view.children import androidx.core.view.children
@ -83,4 +84,8 @@ abstract class PollItem : AbsMessageItem<PollItem.Holder>() {
companion object { companion object {
private const val STUB_ID = R.id.messageContentPollStub private const val STUB_ID = R.id.messageContentPollStub
} }
override fun messageBubbleAllowed(context: Context): Boolean {
return true
}
} }