[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

This commit is contained in:
xdrm-brackets 2018-04-04 15:43:44 +02:00
parent b7be44de64
commit 1d6ec8c5d1
1 changed files with 3 additions and 0 deletions

View File

@ -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 } });
}