mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[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:
committed by
Saturnino Abril
parent
414b208100
commit
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 &&
|
||||
|
||||
Reference in New Issue
Block a user