rudeshark.net/src/acct/render.ts

4 lines
106 B
TypeScript
Raw Normal View History

2018-03-27 09:51:12 +02:00
export default user => {
return user.host === null ? user.username : `${user.username}@${user.host}`;
};