late sync with insertions only work now

This commit is contained in:
Kevin Jahns
2015-07-25 23:26:52 +00:00
parent 5e0d602e12
commit 56165a3c10
7 changed files with 182 additions and 32 deletions

View File

@@ -64,8 +64,13 @@ class Test extends AbstractConnector {
globalRoom.buffers[key].push(JSON.parse(JSON.stringify([this.userId, message])))
}
}
reconnect () {
globalRoom.addUser(this)
super()
}
disconnect () {
globalRoom.removeUser(this.userId)
super()
}
flush () {
var buff = globalRoom.buffers[this.userId]