mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-25 20:18:28 +09:00
4 lines
106 B
TypeScript
4 lines
106 B
TypeScript
export default user => {
|
|
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
|
};
|