forked from mirror/misskey
6 lines
156 B
TypeScript
6 lines
156 B
TypeScript
import { IUser } from '../models/user';
|
|
|
|
export default (user: IUser) => {
|
|
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
|
};
|