Skip to content

Commit f3b9c44

Browse files
authored
Update RustMatrixTimeline.kt
1 parent f55b93e commit f3b9c44

File tree

1 file changed

+3
-3
lines changed
  • libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline

1 file changed

+3
-3
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustMatrixTimeline.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class RustMatrixTimeline(
102102
init {
103103
Timber.d("Initialize timeline for room ${matrixRoom.roomId}")
104104

105-
val rustTaskHandleBag = TaskHandleBag()
105+
val taskHandleBag = TaskHandleBag()
106106
roomCoroutineScope.launch(dispatcher) {
107107
innerRoom.timelineDiffFlow { initialList ->
108108
postItems(initialList)
@@ -118,9 +118,9 @@ class RustMatrixTimeline(
118118
postPaginationStatus(it)
119119
}.launchIn(this)
120120

121-
rustTaskHandleBag += fetchMembers().getOrNull()
121+
taskHandleBag += fetchMembers().getOrNull()
122122
}.invokeOnCompletion {
123-
rustTaskHandleBag.dispose()
123+
taskHandleBag.dispose()
124124
}
125125
}
126126

0 commit comments

Comments
 (0)