Add threadInfo field to message like timeline events (#5930)

* Add `threadInfo` field to message like timeline events:
- Polls
- Stickers
- UTDs

* Add missing cases for `EventTimeline.threadInfo()`
This commit is contained in:
Jorge Martin Espinosa 2025-12-19 10:43:40 +01:00 committed by GitHub
parent 602498a36b
commit 0b5c4fc8bb
10 changed files with 87 additions and 44 deletions

View file

@ -84,7 +84,7 @@ class DefaultEventItemFactoryTest {
),
mediaSource = MediaSource("")
),
UnableToDecryptContent(UnableToDecryptContent.Data.Unknown),
UnableToDecryptContent(data = UnableToDecryptContent.Data.Unknown, threadInfo = null),
UnknownContent,
)
contents.forEach {
@ -397,8 +397,8 @@ class DefaultEventItemFactoryTest {
height = 1L,
width = 2L,
blurhash = null,
)
)
),
),
)
)
)