Fix GroupMemberTile wrong default avatar letter and colour

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-09-27 12:24:01 +01:00
parent 12c46838c3
commit 37978e5ef5
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ export default createReactClass({
);
const av = (
<BaseAvatar name={this.props.member.userId}
<BaseAvatar
name={this.props.member.displayname || this.props.member.userId}
idName={this.props.member.userId}
width={36} height={36}
url={avatarUrl}
/>