1
0
forked from mirror/misskey
misskey/src/acct/render.ts

6 lines
156 B
TypeScript
Raw Normal View History

2018-06-18 09:54:53 +09:00
import { IUser } from "../models/user";
export default (user: IUser) => {
2018-03-27 16:51:12 +09:00
return user.host === null ? user.username : `${user.username}@${user.host}`;
};