feat: connect reblogs + direct reply in home timeline
This commit is contained in:
parent
107ac8a6b9
commit
010bfc4179
2 changed files with 5 additions and 3 deletions
|
@ -26,8 +26,9 @@ const status = $computed(() => {
|
|||
})
|
||||
|
||||
// Use original status, avoid connecting a reblog (review if we should relax this)
|
||||
const directReply = $computed(() => props.hasNewer || (!!props.status.inReplyToId && props.status.inReplyToId === props.newer?.id))
|
||||
const connectReply = $computed(() => props.hasOlder || props.status.id === props.older?.inReplyToId)
|
||||
const directReply = $computed(() => props.hasNewer || (!!props.status.inReplyToId && (props.status.inReplyToId === props.newer?.id || props.status.inReplyToId === props.newer?.reblog?.id)))
|
||||
// Use reblogged status, connect it to further replies
|
||||
const connectReply = $computed(() => props.hasOlder || status.id === props.older?.inReplyToId)
|
||||
|
||||
const rebloggedBy = $computed(() => props.status.reblog ? props.status.account : null)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue