2023-07-27 07:31:52 +02:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2023-02-08 12:07:19 +01:00
|
|
|
<template>
|
2023-05-19 06:58:09 +02:00
|
|
|
<Mfm :text="user.name ?? user.username" :author="user" :plain="true" :nowrap="nowrap" :emojiUrls="user.emojis"/>
|
2023-02-08 12:07:19 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
|
|
|
import * as misskey from 'misskey-js';
|
|
|
|
|
|
|
|
const props = withDefaults(defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
nowrap?: boolean;
|
|
|
|
}>(), {
|
|
|
|
nowrap: true,
|
|
|
|
});
|
|
|
|
</script>
|