diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-11-05 17:11:47 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-11-05 17:11:47 -0500 |
commit | 59581c38506acf267854f33af3c1d25e876dbb69 (patch) | |
tree | 9e23e8c8560b981f447b051a0442828394bcc09e /web | |
parent | 7b7491a438e413a2030a7ed3ef0cba4605aa2e8d (diff) | |
parent | 08e03e615c46a015373971ea1e7b3e350e90a9db (diff) | |
download | chat-59581c38506acf267854f33af3c1d25e876dbb69.tar.gz chat-59581c38506acf267854f33af3c1d25e876dbb69.tar.bz2 chat-59581c38506acf267854f33af3c1d25e876dbb69.zip |
Merge pull request #1324 from gabel/PLT-480
PLT-480 Use `Utils.displayUsername` for username renderings
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/user_profile.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx index c4402ae23..5ef2e8a19 100644 --- a/web/react/components/user_profile.jsx +++ b/web/react/components/user_profile.jsx @@ -54,7 +54,7 @@ export default class UserProfile extends React.Component { } } render() { - var name = this.state.profile.username; + var name = Utils.displayUsername(this.state.profile.id); if (this.props.overwriteName) { name = this.props.overwriteName; } |