summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-02 09:52:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-02 09:52:47 +0900
commit5c497d7563c70865c83dedaad2ed914bc722bd98 (patch)
treebd7ff1834557eaa7591149d8726308fd696ff7c0 /src/misc
parentMerge pull request #2059 from syuilo/l10n_master (diff)
downloadsharkey-5c497d7563c70865c83dedaad2ed914bc722bd98.tar.gz
sharkey-5c497d7563c70865c83dedaad2ed914bc722bd98.tar.bz2
sharkey-5c497d7563c70865c83dedaad2ed914bc722bd98.zip
:v:
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/get-user-name.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/get-user-name.ts b/src/misc/get-user-name.ts
index acd5e6626d..eab9f87ef0 100644
--- a/src/misc/get-user-name.ts
+++ b/src/misc/get-user-name.ts
@@ -1,5 +1,5 @@
import { IUser } from '../models/user';
export default function(user: IUser): string {
- return user.name || 'ๅ็„กใ—';
+ return user.name || user.username;
}