mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Only show flair for groups with avatars set
Fix vector-im/riot-web#5377
This commit is contained in:
parent
e023aa9a10
commit
2f418976aa
1 changed files with 1 additions and 1 deletions
|
@ -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;})});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue