diff options
author | Martin Fischer <gabeldeluxe@gmail.com> | 2015-11-05 22:14:40 +0100 |
---|---|---|
committer | Martin Fischer <gabeldeluxe@gmail.com> | 2015-11-05 22:15:07 +0100 |
commit | 08e03e615c46a015373971ea1e7b3e350e90a9db (patch) | |
tree | 5c6d8d1135a497a8931ee4069e11e510d6b5a71e /web/react | |
parent | 6418b78f1c8d7b9bba240ef5638e9e2a1613c3e5 (diff) | |
download | chat-08e03e615c46a015373971ea1e7b3e350e90a9db.tar.gz chat-08e03e615c46a015373971ea1e7b3e350e90a9db.tar.bz2 chat-08e03e615c46a015373971ea1e7b3e350e90a9db.zip |
PLT-480: Use `Utils.displayUsername` for username renderings. (fixes #874)
Diffstat (limited to 'web/react')
-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; } |