1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Remove get-config API

which is no longer necessary now the jitsi wrapper has its own
external-api script
This commit is contained in:
David Baker
2020-04-01 10:40:03 +01:00
parent 538147f7fa
commit 274eb75c38
4 changed files with 0 additions and 20 deletions

View File

@@ -220,13 +220,6 @@ export default class FromWidgetPostMessageApi {
}
} else if (action === 'get_openid') {
// Handled by caller
} else if (action === KnownWidgetActions.GetRiotWebConfig) {
if (ActiveWidgetStore.widgetHasCapability(widgetId, Capability.GetRiotWebConfig)) {
this.sendResponse(event, {
api: INBOUND_API_NAME,
config: SdkConfig.get(),
});
}
} else {
console.warn('Widget postMessage event unhandled');
this.sendError(event, {message: 'The postMessage was unhandled'});