mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
[merge] Put poll in message bubble
Change-Id: Ifebbc53cd1c716b8b890e63f536b258c68b4c1cf
This commit is contained in:
parent
38d16c98e3
commit
bd38595ab5
1 changed files with 5 additions and 0 deletions
|
@ -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<PollItem.Holder>() {
|
|||
companion object {
|
||||
private const val STUB_ID = R.id.messageContentPollStub
|
||||
}
|
||||
|
||||
override fun messageBubbleAllowed(context: Context): Boolean {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue