From 270fc41c0ffe52266f821748db9fd8b4e9d10b36 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Tue, 20 Jun 2017 18:23:12 +0200 Subject: [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 --- webapp/components/post_view/post_body/post_body.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components') 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 && -- cgit v1.2.3-1-g7c22