diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index 33a4d177..7967dfc9 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -61,6 +61,10 @@ const collapseRebloggedBy = computed(() => rebloggedBy.value?.id === status.valu const isDM = computed(() => status.value.visibility === 'direct') const isPinned = computed(() => status.value.pinned) +// limit 0 should get all w/o pagination, but might need checking +const followedTags = (await useMasto().client.value.v1.followedTags.list({ limit: 0 })).map(tag => tag.name) +const statusTagsFollowed = computed(() => status.value.tags.filter(tag => followedTags.includes(tag.name)).map(tag => tag.name)) + const showUpperBorder = computed(() => newer && !directReply.value) const showReplyTo = computed(() => !replyToMain.value && !directReply.value) @@ -73,6 +77,20 @@ const forceShow = ref(false)