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