mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 06:53:08 +02:00
3 lines
106 B
TypeScript
3 lines
106 B
TypeScript
export default user => {
|
|
return user.host === null ? user.username : `${user.username}@${user.host}`;
|
|
};
|