mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-08 00:29:19 +09:00
6 lines
141 B
TypeScript
6 lines
141 B
TypeScript
import Acct from './type';
|
|
|
|
export default (user: Acct) => {
|
|
return user.host == null ? user.username : `${user.username}@${user.host}`;
|
|
};
|