You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
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