Merge pull request #1519 from matrix-org/luke/groups-flair-avatars-set
Only show flair for groups with avatars set
This commit is contained in:
@@ -127,7 +127,7 @@ export default class Flair extends React.Component {
|
||||
}
|
||||
const profiles = await this._getGroupProfiles(groups);
|
||||
if (!this.unmounted) {
|
||||
this.setState({profiles});
|
||||
this.setState({profiles: profiles.filter((profile) => {return profile.avatarUrl;})});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user