Fix filtering timelines (#2214)
This commit is contained in:
parent
2cc53d6772
commit
59b977c57c
1 changed files with 3 additions and 3 deletions
|
@ -451,9 +451,9 @@ class TimelineViewModel @Inject constructor(
|
||||||
} else {
|
} else {
|
||||||
throw HttpException(response)
|
throw HttpException(response)
|
||||||
}
|
}
|
||||||
}
|
}.toMutableList()
|
||||||
|
|
||||||
filterStatuses(statuses.toMutableList())
|
filterStatuses(statuses)
|
||||||
|
|
||||||
return statuses
|
return statuses
|
||||||
}
|
}
|
||||||
|
@ -530,7 +530,7 @@ class TimelineViewModel @Inject constructor(
|
||||||
if (statuses.size > 1) {
|
if (statuses.size > 1) {
|
||||||
clearPlaceholdersForResponse(mutableStatusResponse)
|
clearPlaceholdersForResponse(mutableStatusResponse)
|
||||||
this.statuses.clear()
|
this.statuses.clear()
|
||||||
this.statuses.addAll(statuses.toViewData())
|
this.statuses.addAll(mutableStatusResponse.toViewData())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue