From 78314ef2849c446ec6b7895f2d41af19bf02e16a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 29 Jan 2019 16:10:24 -0700 Subject: [PATCH] Take out unfederated warning This is moving to the Advanced tab --- src/components/views/settings/tabs/RolesRoomSettingsTab.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/views/settings/tabs/RolesRoomSettingsTab.js b/src/components/views/settings/tabs/RolesRoomSettingsTab.js index 4382b43a03..776ce9f01a 100644 --- a/src/components/views/settings/tabs/RolesRoomSettingsTab.js +++ b/src/components/views/settings/tabs/RolesRoomSettingsTab.js @@ -302,12 +302,6 @@ export default class RolesRoomSettingsTab extends React.Component { ); }); - let unfederatableSection; - const createEvent = room.currentState.getStateEvents('m.room.create', ''); - if (createEvent && createEvent.getContent()['m.federate'] === false) { - unfederatableSection =
{_t('This room is not accessible by remote Matrix servers')}
; - } - return (
{_t("Roles & Permissions")}
@@ -318,7 +312,6 @@ export default class RolesRoomSettingsTab extends React.Component { {_t("Permissions")} {powerSelectors} {eventPowerSelectors} - {unfederatableSection}
);