From 64611083a5b30fa0a2dc0ec423d0f64d749aa3e2 Mon Sep 17 00:00:00 2001 From: patak Date: Sun, 1 Jan 2023 21:16:32 +0100 Subject: [PATCH] feat: connect reblogged replies --- components/status/StatusCard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index 073b6349..5b2a9f82 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -31,7 +31,7 @@ const status = $computed(() => { // Use original status, avoid connecting a reblog const directReply = $computed(() => props.hasNewer || (!!status.inReplyToId && (status.inReplyToId === props.newer?.id || 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 connectReply = $computed(() => props.hasOlder || status.id === props.older?.inReplyToId || status.id === props.older?.reblog?.inReplyToId) const rebloggedBy = $computed(() => props.status.reblog ? props.status.account : null) @@ -112,7 +112,7 @@ const isDM = $computed(() => status.visibility === 'direct')
-
+