mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-21 15:50:59 +00:00
Fix loading contexts of reblogs
This commit is contained in:
parent
2ef7b00130
commit
280ec03ee9
1 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,9 @@ public extension StatusListViewModel {
|
|||
}
|
||||
|
||||
func contextViewModel(id: String) -> StatusListViewModel {
|
||||
StatusListViewModel(statusListService: statusListService.contextService(statusID: id))
|
||||
let displayStatusID = statuses[id]?.displayStatus.id ?? id
|
||||
|
||||
return StatusListViewModel(statusListService: statusListService.contextService(statusID: displayStatusID))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue