Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 65e2173

Browse files
authored
Merge pull request #5829 from fkrull/fix-no-avatar-invitations
Fix viewing invitations when the inviter has no avatar set
2 parents b0af163 + 10cf362 commit 65e2173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/GroupView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ export default class GroupView extends React.Component {
981981
<Spinner />
982982
</div>;
983983
}
984-
const httpInviterAvatar = this.state.inviterProfile
984+
const httpInviterAvatar = this.state.inviterProfile && this.state.inviterProfile.avatarUrl
985985
? mediaFromMxc(this.state.inviterProfile.avatarUrl).getSquareThumbnailHttp(36)
986986
: null;
987987

0 commit comments

Comments
 (0)