From 707e3f3382becd35f5e68ede8bb2c47f851f0ba9 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Mon, 26 Feb 2018 13:32:27 +0000 Subject: [PATCH] Temp. revert unintended commit. --- src/IntegrationManager.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/IntegrationManager.js b/src/IntegrationManager.js index fcc97a1044..dde3294536 100644 --- a/src/IntegrationManager.js +++ b/src/IntegrationManager.js @@ -19,8 +19,6 @@ import SdkConfig from './SdkConfig'; import ScalarMessaging from './ScalarMessaging'; import ScalarAuthClient from './ScalarAuthClient'; -let currentRoomId = "!JWyCNPOtOmEXOylMBv:matrix.org"; - if (!global.im) { global.im = {}; } @@ -53,14 +51,13 @@ export default class IntegrationManager { static async open(integType, integId, onClose) { await IntegrationManager._init(); const IntegrationsManager = sdk.getComponent("views.settings.IntegrationsManager"); - console.warn("IM", global.im); if (global.im.error || !(global.im.client && global.im.client.hasCredentials())) { console.error("Scalar error", global.im); return; } integType = 'type_' + integType; - console.warn("Launching integration manager", currentRoomId, integType, integId); const src = (global.im.client && global.im.client.hasCredentials()) ? + // FIXME -- Currently broken. Get current room ID global.im.client.getScalarInterfaceUrlForRoom( currentRoomId, integType,