diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-06-20 18:23:12 +0200 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-21 00:23:12 +0800 |
commit | 270fc41c0ffe52266f821748db9fd8b4e9d10b36 (patch) | |
tree | 6accb206c574b7424d787eca656b805385298b7f /webapp/components | |
parent | 414b208100a36975d2fa238f4adfb33b20212122 (diff) | |
download | chat-270fc41c0ffe52266f821748db9fd8b4e9d10b36.tar.gz chat-270fc41c0ffe52266f821748db9fd8b4e9d10b36.tar.bz2 chat-270fc41c0ffe52266f821748db9fd8b4e9d10b36.zip |
[PLT-3379] "Commented on" username should respect the teammate name display (#6684)
* PLT-3379 - "Commented on" username should respect the teammate name display
* update per review
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/post_view/post_body/post_body.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/post_body/post_body.jsx b/webapp/components/post_view/post_body/post_body.jsx index a60d25760..a14141dcd 100644 --- a/webapp/components/post_view/post_body/post_body.jsx +++ b/webapp/components/post_view/post_body/post_body.jsx @@ -73,7 +73,7 @@ export default class PostBody extends React.PureComponent { let apostrophe = ''; let name = '...'; if (profile != null) { - let username = profile.username; + let username = Utils.displayUsernameForUser(profile); if (parentPost.props && parentPost.props.from_webhook && parentPost.props.override_username && |