From a78ae52a54c52b3c73cb4016180b5544861bac51 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:55:10 +0200 Subject: [PATCH] to test with EC, also load prompt calls at startup --- src/domain/session/SessionViewModel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/domain/session/SessionViewModel.js b/src/domain/session/SessionViewModel.js index 1242edf4..715e51c5 100644 --- a/src/domain/session/SessionViewModel.js +++ b/src/domain/session/SessionViewModel.js @@ -99,8 +99,9 @@ export class SessionViewModel extends ViewModel { start() { this._sessionStatusViewModel.start(); - //this._client.session.callHandler.loadCalls("m.prompt"); this._client.session.callHandler.loadCalls("m.ring"); + // TODO: only do this when opening the room + this._client.session.callHandler.loadCalls("m.prompt"); } get activeMiddleViewModel() {