rudeshark.net/src/acct/render.ts
2018-04-02 13:44:32 +09:00

4 lines
106 B
TypeScript

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