Convert to using im.vector.integration_manager for IM widget
This avoids us having to throw the entirety of MSC1957 into the queue, particularly when we're only using a third of the MSC.
This commit is contained in:
parent
02a4121401
commit
8b1c90a01e
2 changed files with 16 additions and 11 deletions
|
@ -113,13 +113,7 @@ export class IntegrationManagers {
|
|||
await WidgetUtils.removeIntegrationManagerWidgets();
|
||||
|
||||
// TODO: TravisR - We should actually be carrying over the discovery response verbatim.
|
||||
await WidgetUtils.setUserWidget(
|
||||
"integration_manager_" + (new Date().getTime()),
|
||||
"m.integration_manager",
|
||||
manager.uiUrl,
|
||||
"Integration Manager",
|
||||
{"api_url": manager.apiUrl},
|
||||
);
|
||||
await WidgetUtils.addIntegrationManagerWidget(manager.name, manager.uiUrl, manager.apiUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue