You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Prompt for terms of service on integration manager changes
Part of https://github.com/vector-im/riot-web/issues/10539
This commit is contained in:
@@ -40,7 +40,14 @@ export class IntegrationManagerInstance {
|
||||
|
||||
get name(): string {
|
||||
const parsed = url.parse(this.uiUrl);
|
||||
return parsed.hostname;
|
||||
return parsed.host;
|
||||
}
|
||||
|
||||
get trimmedApiUrl(): string {
|
||||
const parsed = url.parse(this.apiUrl);
|
||||
parsed.pathname = '';
|
||||
parsed.path = '';
|
||||
return parsed.format();
|
||||
}
|
||||
|
||||
getScalarClient(): ScalarAuthClient {
|
||||
|
||||
Reference in New Issue
Block a user