2023-01-07 04:12:00 +09:00
|
|
|
<script setup lang="ts">
|
2023-01-08 15:21:09 +09:00
|
|
|
import type { mastodon } from 'masto'
|
2023-01-07 04:12:00 +09:00
|
|
|
|
|
|
|
defineProps<{
|
2023-01-08 15:21:09 +09:00
|
|
|
account: mastodon.v1.Account
|
2023-01-07 04:12:00 +09:00
|
|
|
}>()
|
2023-02-05 02:02:05 +09:00
|
|
|
|
|
|
|
const userSettings = useUserSettings()
|
2023-01-07 04:12:00 +09:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<ContentRich
|
|
|
|
:content="getDisplayName(account, { rich: true })"
|
|
|
|
:emojis="account.emojis"
|
2023-02-05 02:02:05 +09:00
|
|
|
:show-emojis="!getPreferences(userSettings, 'hideUsernameEmojis')"
|
2023-01-07 04:12:00 +09:00
|
|
|
:markdown="false"
|
|
|
|
/>
|
|
|
|
</template>
|