Pass around MatrixClients instead of using MatrixClientPeg (#10984)

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
Michael Telatynski 2023-06-01 14:43:24 +01:00 committed by GitHub
parent b6b9ce3c46
commit 21ffc50f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 152 additions and 135 deletions

View file

@ -876,7 +876,7 @@ const onMessage = function (event: MessageEvent<any>): void {
// No integrations UI URL, ignore silently.
return;
}
let eventOriginUrl;
let eventOriginUrl: URL;
try {
eventOriginUrl = new URL(event.origin);
} catch (e) {