Mark unhydrated replies as orphaned (#5048)
This commit is contained in:
@@ -81,7 +81,15 @@ export class FeedViewPostsSlice {
|
|||||||
isParentBlocked,
|
isParentBlocked,
|
||||||
isParentNotFound,
|
isParentNotFound,
|
||||||
})
|
})
|
||||||
if (!reply || reason) {
|
if (!reply) {
|
||||||
|
if (post.record.reply) {
|
||||||
|
// This reply wasn't properly hydrated by the AppView.
|
||||||
|
this.isOrphan = true
|
||||||
|
this.items[0].isParentNotFound = true
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (reason) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user