From 1d6ec8c5d1cd2011d9519ac089d67da9100ae491 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 4 Apr 2018 15:43:44 +0200 Subject: [PATCH] [lib.content-controller] send { rid: .. } for each connection (will be a doublon with room.nav() for the first connection) in order for 'reconnection' to be consistent --- webpack/lib/content-controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack/lib/content-controller.js b/webpack/lib/content-controller.js index b8e0933..e1a0b9b 100644 --- a/webpack/lib/content-controller.js +++ b/webpack/lib/content-controller.js @@ -190,6 +190,9 @@ export default class ContentController{ // 4. Start communication csock.bind(); + // 5. Send RID (useful when reconnecting, but a doublon at first connection) + csock.send({ buffer: { rid: gs.get.room.text.current } }); + }