diff --git a/src/components/views/avatars/GroupAvatar.tsx b/src/components/views/avatars/GroupAvatar.tsx index 6d8ef9e8f6..3734ba9504 100644 --- a/src/components/views/avatars/GroupAvatar.tsx +++ b/src/components/views/avatars/GroupAvatar.tsx @@ -39,6 +39,7 @@ export default class GroupAvatar extends React.Component { }; getGroupAvatarUrl() { + if (!this.props.groupAvatarUrl) return null; return mediaFromMxc(this.props.groupAvatarUrl).getThumbnailOfSourceHttp( this.props.width, this.props.height,