diff --git a/src/UserSettingsStore.js b/src/UserSettingsStore.js index ce39939bc0..34f9a28d57 100644 --- a/src/UserSettingsStore.js +++ b/src/UserSettingsStore.js @@ -26,10 +26,6 @@ import SdkConfig from './SdkConfig'; */ const FEATURES = [ - { - id: 'feature_groups', - name: _td("Communities"), - }, { id: 'feature_pinning', name: _td("Message Pinning"), diff --git a/src/components/views/elements/Flair.js b/src/components/views/elements/Flair.js index 17d37d593c..ec0276ab55 100644 --- a/src/components/views/elements/Flair.js +++ b/src/components/views/elements/Flair.js @@ -83,9 +83,7 @@ export default class Flair extends React.Component { componentWillMount() { this._unmounted = false; - if (UserSettingsStore.isFeatureEnabled('feature_groups') && FlairStore.groupSupport()) { - this._generateAvatars(); - } + this._generateAvatars(); this.context.matrixClient.on('RoomState.events', this.onRoomStateEvents); } diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 2f46a9308e..c7e839ab40 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -671,13 +671,11 @@ module.exports = React.createClass({ const self = this; - let relatedGroupsSection; - if (UserSettingsStore.isFeatureEnabled('feature_groups')) { - relatedGroupsSection = ; - } + const relatedGroupsSection = ; let userLevelsSection; if (Object.keys(user_levels).length) {