This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ import SdkConfig from './SdkConfig';
26
26
*/
27
27
28
28
const FEATURES = [
29
- {
30
- id : 'feature_groups' ,
31
- name : _td ( "Communities" ) ,
32
- } ,
33
29
{
34
30
id : 'feature_pinning' ,
35
31
name : _td ( "Message Pinning" ) ,
Original file line number Diff line number Diff line change @@ -83,9 +83,7 @@ export default class Flair extends React.Component {
83
83
84
84
componentWillMount ( ) {
85
85
this . _unmounted = false ;
86
- if ( UserSettingsStore . isFeatureEnabled ( 'feature_groups' ) && FlairStore . groupSupport ( ) ) {
87
- this . _generateAvatars ( ) ;
88
- }
86
+ this . _generateAvatars ( ) ;
89
87
this . context . matrixClient . on ( 'RoomState.events' , this . onRoomStateEvents ) ;
90
88
}
91
89
Original file line number Diff line number Diff line change @@ -671,13 +671,11 @@ module.exports = React.createClass({
671
671
672
672
const self = this ;
673
673
674
- let relatedGroupsSection ;
675
- if ( UserSettingsStore . isFeatureEnabled ( 'feature_groups' ) ) {
676
- relatedGroupsSection = < RelatedGroupSettings ref = "related_groups"
677
- roomId = { this . props . room . roomId }
678
- canSetRelatedGroups = { roomState . mayClientSendStateEvent ( "m.room.related_groups" , cli ) }
679
- relatedGroupsEvent = { this . props . room . currentState . getStateEvents ( 'm.room.related_groups' , '' ) } /> ;
680
- }
674
+ const relatedGroupsSection = < RelatedGroupSettings ref = "related_groups"
675
+ roomId = { this . props . room . roomId }
676
+ canSetRelatedGroups = { roomState . mayClientSendStateEvent ( "m.room.related_groups" , cli ) }
677
+ relatedGroupsEvent = { this . props . room . currentState . getStateEvents ( 'm.room.related_groups' , '' ) }
678
+ /> ;
681
679
682
680
let userLevelsSection ;
683
681
if ( Object . keys ( user_levels ) . length ) {
You can’t perform that action at this time.
0 commit comments