mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 20:38:40 +00:00
Fix read receipts not appearing in threaded timelines (#6297)
This commit is contained in:
committed by
GitHub
parent
e821f75a88
commit
2cfb7bfe55
+5
-2
@@ -229,8 +229,11 @@ class JoinedRustRoom(
|
|||||||
is CreateTimelineParams.Threaded -> DateDividerMode.DAILY
|
is CreateTimelineParams.Threaded -> DateDividerMode.DAILY
|
||||||
}
|
}
|
||||||
|
|
||||||
// Track read receipts only for focused timeline for performance optimization
|
// Track read receipts only for focused and threaded timelines for performance optimization
|
||||||
val trackReadReceipts = createTimelineParams is CreateTimelineParams.Focused
|
val trackReadReceipts = when (createTimelineParams) {
|
||||||
|
is CreateTimelineParams.Focused, is CreateTimelineParams.Threaded -> true
|
||||||
|
is CreateTimelineParams.MediaOnly, is CreateTimelineParams.MediaOnlyFocused, CreateTimelineParams.PinnedOnly -> false
|
||||||
|
}
|
||||||
|
|
||||||
runCatchingExceptions {
|
runCatchingExceptions {
|
||||||
innerRoom.timelineWithConfiguration(
|
innerRoom.timelineWithConfiguration(
|
||||||
|
|||||||
Reference in New Issue
Block a user