[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
Этот коммит содержится в:
Carlos Tadeu Panato Junior
2017-06-20 18:23:12 +02:00
коммит произвёл Saturnino Abril
родитель 414b208100
Коммит 270fc41c0f

Просмотреть файл

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