Introduce acct directory

This commit is contained in:
Akihiko Odaki
2018-04-02 13:44:32 +09:00
parent 4ef3d3a6d2
commit aa94035987
56 changed files with 58 additions and 58 deletions

3
src/acct/render.ts Normal file
View File

@ -0,0 +1,3 @@
export default user => {
return user.host === null ? user.username : `${user.username}@${user.host}`;
};