Expects object, not naked ID.

This commit is contained in:
Richard Lewis 2018-03-28 19:21:49 +01:00
parent 4ac9653ab9
commit b4e70e30f3

View File

@ -60,7 +60,7 @@ export default class IntegrationManager {
integType = 'type_' + integType; integType = 'type_' + integType;
const src = (global.mxIntegrationManager.client && global.mxIntegrationManager.client.hasCredentials()) ? const src = (global.mxIntegrationManager.client && global.mxIntegrationManager.client.hasCredentials()) ?
global.mxIntegrationManager.client.getScalarInterfaceUrlForRoom( global.mxIntegrationManager.client.getScalarInterfaceUrlForRoom(
RoomViewStore.getRoomId(), {roomId: RoomViewStore.getRoomId()},
integType, integType,
integId, integId,
) : ) :