jormungandr-bite/src/acct/render.ts

4 lines
106 B
TypeScript
Raw Normal View History

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