forked from mirrors/firefish
9dd06a7621
* Enhance /.well-known and their friends * Fix bug
6 lines
142 B
TypeScript
6 lines
142 B
TypeScript
import Acct from './type';
|
|
|
|
export default (user: Acct) => {
|
|
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
|
};
|