summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorJoachim Bauch <bauch@struktur.de>2017-10-30 16:49:20 +0100
committerJoachim Bauch <bauch@struktur.de>2017-11-02 11:23:53 +0100
commit40f6cfeb4192a0f8309a0cdc009fdac156b554f6 (patch)
tree05c8eb023baf5d15b7a9f55541b0d7978c88337f /js
parentd40777eca6a15e7e2cc929589021ef6efc408d1f (diff)
Update room list after reconnect.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Diffstat (limited to 'js')
-rw-r--r--js/signaling.js5
1 files changed, 5 insertions, 0 deletions
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);
}