From 40f6cfeb4192a0f8309a0cdc009fdac156b554f6 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 30 Oct 2017 16:49:20 +0100 Subject: [PATCH] Update room list after reconnect. Signed-off-by: Joachim Bauch --- js/signaling.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/signaling.js b/js/signaling.js index 70b19498f..859dc1e8b 100644 --- a/js/signaling.js +++ b/js/signaling.js @@ -667,6 +667,11 @@ } this._trigger("connect"); + if (this.reconnected) { + // The list of rooms might have changed while we were not connected, + // so perform resync once. + this.internalSyncRooms(); + } if (!resumedSession && this.currentCallToken) { this.joinCall(this.currentCallToken); }