Remove feature_many_integration_managers
Rationale: If we want this feature, design will do it properly.
This commit is contained in:
parent
aa664b88a4
commit
2aec197354
13 changed files with 16 additions and 358 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue