yumechi-no-kuni/src/user/get-acct.ts
2018-04-02 12:58:53 +09:00

3 lines
106 B
TypeScript

export default user => {
return user.host === null ? user.username : `${user.username}@${user.host}`;
};