Support homeserver-configured integration managers

Fixes https://github.com/vector-im/riot-web/issues/4913
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1024
Implements part of [MSC1957](https://github.com/matrix-org/matrix-doc/pull/1957)
This commit is contained in:
Travis Ralston 2019-08-22 14:49:20 -06:00
parent efe8254985
commit a35735da45
2 changed files with 71 additions and 3 deletions

View file

@ -23,11 +23,13 @@ import url from 'url';
export const KIND_ACCOUNT = "account";
export const KIND_CONFIG = "config";
export const KIND_HOMESERVER = "homeserver";
export class IntegrationManagerInstance {
apiUrl: string;
uiUrl: string;
kind: string;
id: string; // only applicable in some cases
constructor(kind: string, apiUrl: string, uiUrl: string) {
this.kind = kind;