Hide communities invites and the community autocompleter when Spaces Beta is enabled
This commit is contained in:
parent
c316eb841a
commit
9dc8493a5c
2 changed files with 3 additions and 1 deletions
|
@ -466,6 +466,7 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
|
|||
}
|
||||
|
||||
private renderCommunityInvites(): ReactComponentElement<typeof ExtraTile>[] {
|
||||
if (SettingsStore.getValue("feature_spaces")) return [];
|
||||
// TODO: Put community invites in a more sensible place (not in the room list)
|
||||
// See https://github.com/vector-im/element-web/issues/14456
|
||||
return MatrixClientPeg.get().getGroups().filter(g => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue