diff --git a/components/status/StatusBody.vue b/components/status/StatusBody.vue index ef51dead..733f9974 100644 --- a/components/status/StatusBody.vue +++ b/components/status/StatusBody.vue @@ -3,9 +3,11 @@ import type { mastodon } from 'masto' const { status, + newer, withAction = true, } = defineProps<{ status: mastodon.v1.Status | mastodon.v1.StatusEdit + newer?: mastodon.v1.Status withAction?: boolean }>() @@ -20,13 +22,15 @@ const vnode = $computed(() => { mentions: 'mentions' in status ? status.mentions : undefined, markdown: true, collapseMentionLink: !!('inReplyToId' in status && status.inReplyToId), + status: 'id' in status ? status : undefined, + inReplyToStatus: newer, }) return vnode })