diff --git a/src/components/views/avatars/RoomAvatar.js b/src/components/views/avatars/RoomAvatar.js index 7b9cb10d51..38f088238f 100644 --- a/src/components/views/avatars/RoomAvatar.js +++ b/src/components/views/avatars/RoomAvatar.js @@ -158,7 +158,8 @@ module.exports = React.createClass({ + onClick={this.props.viewAvatarOnClick ? this.onRoomAvatarClick : null} + disabled={!this.state.urls[0]} /> ); }, });