From 297b104e1c67365719c5f8180179c3fa15ffa7fe Mon Sep 17 00:00:00 2001 From: Kingsley Yung <11942650+kkoyung@users.noreply.github.com> Date: Sun, 5 Feb 2023 23:12:49 +0800 Subject: [PATCH] fix: repeated content on reblog without comment (re-open) (#1627) --- components/status/StatusCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index 2176c46d..6ca7efaa 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -26,7 +26,7 @@ const props = withDefaults( const userSettings = useUserSettings() const status = $computed(() => { - if (props.status.reblog && !props.status.content) + if (props.status.reblog && (!props.status.content || props.status.content === props.status.reblog.content)) return props.status.reblog return props.status })