yumechi-no-kuni/src/misc/acct/render.ts

6 lines
141 B
TypeScript
Raw Normal View History

import Acct from './type';
2018-06-17 19:54:53 -05:00
export default (user: Acct) => {
return user.host == null ? user.username : `${user.username}@${user.host}`;
2018-03-27 02:51:12 -05:00
};