diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index a493a15b..deb7fe1b 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -70,8 +70,13 @@ const isFiltered = $computed(() => filterPhrase && (props.context ? filter?.cont const avatarOnAvatar = $(computedEager(() => useFeatureFlags().experimentalAvatarOnAvatar)) const collapseRebloggedBy = $computed(() => rebloggedBy?.id === status.account.id) const showRebloggedByAvatarOnAvatar = $computed(() => rebloggedBy && avatarOnAvatar && rebloggedBy.id !== status.account.id) + +// Collapse ReplyingTo badge if it is a self-reply (thread) const collapseReplyingTo = $computed(() => (!rebloggedBy || collapseRebloggedBy) && status.inReplyToAccountId === status.account.id) +// Only show avatar in ReplyingTo badge if it was reblogged by the same account +const simplifyReplyingTo = $computed(() => rebloggedBy && rebloggedBy.id === status.inReplyToAccountId) + const isDM = $computed(() => status.visibility === 'direct') @@ -99,7 +104,7 @@ const isDM = $computed(() => status.visibility === 'direct')
-