mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Timeline : add non empty content to displayable conditions => should probably be removed later if we want to handle this case with special epoxy item.
This commit is contained in:
parent
a7b81a4671
commit
2e2d5b9f86
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ object TimelineDisplayableEvents {
|
|||
}
|
||||
|
||||
fun TimelineEvent.isDisplayable(): Boolean {
|
||||
return TimelineDisplayableEvents.DISPLAYABLE_TYPES.contains(root.type)
|
||||
return TimelineDisplayableEvents.DISPLAYABLE_TYPES.contains(root.type) && !root.content.isNullOrEmpty()
|
||||
}
|
||||
|
||||
fun List<TimelineEvent>.filterDisplayableEvents(): List<TimelineEvent> {
|
||||
|
|
Loading…
Add table
Reference in a new issue