Merge pull request #2041 from element-hq/feature/fga/fix_timeline_back_pagination_loop

Fix timeline back pagination loop in encrypted room.
This commit is contained in:
Benoit Marty 2023-12-21 15:42:23 +01:00 committed by GitHub
commit 7273abd42b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 84 additions and 123 deletions

View file

@ -31,7 +31,7 @@ fun aPollTimeline(
return FakeMatrixTimeline(
initialTimelineItems = polls.map { entry ->
MatrixTimelineItem.Event(
entry.key.hashCode().toLong(),
entry.key.value,
anEventTimelineItem(
eventId = entry.key,
content = entry.value,