mirror of https://github.com/vector-im/riot-web
Merge pull request #1519 from matrix-org/luke/groups-flair-avatars-set
Only show flair for groups with avatars setpull/21833/head
commit
65ce71e6af
|
@ -127,7 +127,7 @@ export default class Flair extends React.Component {
|
||||||
}
|
}
|
||||||
const profiles = await this._getGroupProfiles(groups);
|
const profiles = await this._getGroupProfiles(groups);
|
||||||
if (!this.unmounted) {
|
if (!this.unmounted) {
|
||||||
this.setState({profiles});
|
this.setState({profiles: profiles.filter((profile) => {return profile.avatarUrl;})});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue