mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 04:26:23 +02:00
Refactor
This commit is contained in:
3
src/misc/user/get-acct.ts
Normal file
3
src/misc/user/get-acct.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default user => {
|
||||
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
||||
};
|
||||
Reference in New Issue
Block a user