summaryrefslogtreecommitdiff
path: root/src/misc/acct/render.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/acct/render.ts')
-rw-r--r--src/misc/acct/render.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/acct/render.ts b/src/misc/acct/render.ts
index 67e063fcb3..094eceffe9 100644
--- a/src/misc/acct/render.ts
+++ b/src/misc/acct/render.ts
@@ -1,5 +1,5 @@
import Acct from './type';
export default (user: Acct) => {
- return user.host === null ? user.username : `${user.username}@${user.host}`;
+ return user.host == null ? user.username : `${user.username}@${user.host}`;
};