[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
This commit is contained in:
Carlos Tadeu Panato Junior
2017-06-20 18:23:12 +02:00
committed by Saturnino Abril
parent 414b208100
commit 270fc41c0f

View File

@@ -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 &&