Skip to content

Commit

Permalink
Show group member alias trazyn#140
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Jul 25, 2018
1 parent 5cc6b35 commit aaabc07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/pages/Home/ChatContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@ export default class ChatContent extends Component {
className={classes.avatar}
onClick={ev => this.props.showUserinfo(message.isme, user)} />

<p className={classes.username} dangerouslySetInnerHTML={{__html: user.NickName}} />
<p
className={classes.username}
dangerouslySetInnerHTML={{__html: user.DisplayName || user.RemarkName || user.NickName}}
/>

<div className={classes.content}>
<p
Expand Down

0 comments on commit aaabc07

Please sign in to comment.