Remove feature_many_integration_managers

Rationale: If we want this feature, design will do it properly.
This commit is contained in:
Travis Ralston 2022-05-06 12:46:26 -06:00
parent aa664b88a4
commit 2aec197354
13 changed files with 16 additions and 358 deletions

View file

@ -560,12 +560,8 @@ export default class WidgetUtils {
}
static editWidget(room: Room, app: IApp): void {
// TODO: Open the right manager for the widget
if (SettingsStore.getValue("feature_many_integration_managers")) {
IntegrationManagers.sharedInstance().openAll(room, 'type_' + app.type, app.id);
} else {
IntegrationManagers.sharedInstance().getPrimaryManager().open(room, 'type_' + app.type, app.id);
}
// noinspection JSIgnoredPromiseFromCall
IntegrationManagers.sharedInstance().getPrimaryManager().open(room, 'type_' + app.type, app.id);
}
static isManagedByManager(app) {