Refactorng
This commit is contained in:
5
src/misc/acct/render.ts
Normal file
5
src/misc/acct/render.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { IUser } from '../../models/user';
|
||||
|
||||
export default (user: IUser) => {
|
||||
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
||||
};
|
Reference in New Issue
Block a user