mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
Merge pull request #5829 from fkrull/fix-no-avatar-invitations
Fix viewing invitations when the inviter has no avatar set
This commit is contained in:
commit
65e21734e3
@ -981,7 +981,7 @@ export default class GroupView extends React.Component {
|
||||
<Spinner />
|
||||
</div>;
|
||||
}
|
||||
const httpInviterAvatar = this.state.inviterProfile
|
||||
const httpInviterAvatar = this.state.inviterProfile && this.state.inviterProfile.avatarUrl
|
||||
? mediaFromMxc(this.state.inviterProfile.avatarUrl).getSquareThumbnailHttp(36)
|
||||
: null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user