File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ import {MatrixClientPeg} from './MatrixClientPeg';
5959import PlatformPeg from './PlatformPeg' ;
6060import Modal from './Modal' ;
6161import { _t } from './languageHandler' ;
62- import Matrix from 'matrix-js-sdk/src/browser-index ' ;
62+ import { createNewMatrixCall } from 'matrix-js-sdk/src/webrtc/call ' ;
6363import dis from './dispatcher/dispatcher' ;
6464import WidgetUtils from './utils/WidgetUtils' ;
6565import WidgetEchoStore from './stores/WidgetEchoStore' ;
@@ -362,7 +362,7 @@ export default class CallHandler {
362362 ) {
363363 Analytics . trackEvent ( 'voip' , 'placeCall' , 'type' , type ) ;
364364 CountlyAnalytics . instance . trackStartCall ( roomId , type === PlaceCallType . Video , false ) ;
365- const call = Matrix . createNewMatrixCall ( MatrixClientPeg . get ( ) , roomId ) ;
365+ const call = createNewMatrixCall ( MatrixClientPeg . get ( ) , roomId ) ;
366366 this . calls . set ( roomId , call ) ;
367367 this . setCallListeners ( call ) ;
368368 this . setCallAudioElement ( call ) ;
You can’t perform that action at this time.
0 commit comments