mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
More s/IntegrationManager/Platform/
This commit is contained in:
+3
-3
@@ -56,7 +56,7 @@ import UAParser from 'ua-parser-js';
|
|||||||
import url from 'url';
|
import url from 'url';
|
||||||
|
|
||||||
import {parseQs, parseQsFromFragment} from './url_utils';
|
import {parseQs, parseQsFromFragment} from './url_utils';
|
||||||
import IntegrationManager from './integration';
|
import Platform from './platform';
|
||||||
|
|
||||||
var lastLocationHashSet = null;
|
var lastLocationHashSet = null;
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ function onLoadCompleted() {
|
|||||||
async function loadApp() {
|
async function loadApp() {
|
||||||
const fragparts = parseQsFromFragment(window.location);
|
const fragparts = parseQsFromFragment(window.location);
|
||||||
const params = parseQs(window.location);
|
const params = parseQs(window.location);
|
||||||
const integrationManager = new IntegrationManager();
|
const platform = new Platform();
|
||||||
|
|
||||||
// don't try to redirect to the native apps if we're
|
// don't try to redirect to the native apps if we're
|
||||||
// verifying a 3pid
|
// verifying a 3pid
|
||||||
@@ -263,7 +263,7 @@ async function loadApp() {
|
|||||||
enableGuest={true}
|
enableGuest={true}
|
||||||
onLoadCompleted={onLoadCompleted}
|
onLoadCompleted={onLoadCompleted}
|
||||||
defaultDeviceDisplayName={getDefaultDeviceDisplayName()}
|
defaultDeviceDisplayName={getDefaultDeviceDisplayName()}
|
||||||
integrationManager={integrationManager}
|
platform={platform}
|
||||||
/>,
|
/>,
|
||||||
document.getElementById('matrixchat')
|
document.getElementById('matrixchat')
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user