5 lines
141 B
TypeScript
5 lines
141 B
TypeScript
import Acct from './type';
|
|
|
|
export default (user: Acct) => {
|
|
return user.host == null ? user.username : `${user.username}@${user.host}`;
|
|
};
|