implement homeserver consent stage

This commit is contained in:
Bruno Windels
2020-12-04 12:34:31 +01:00
parent 285ef27b0b
commit c68e00f7a2
7 changed files with 268 additions and 23 deletions
-2
View File
@@ -37,10 +37,8 @@ export class RootViewModel extends ViewModel {
if (!oldLink || !oldLink.equals(this.link)) {
this.openLinkViewModel = new OpenLinkViewModel(this.childOptions({
link: this.link,
consentedServers: this.link.servers,
clients: createClients()
}));
this.openLinkViewModel.load();
}
} else {
this.openLinkViewModel = null;