goinstant / goangular

AngularJS bindings for GoInstant. Build realtime, multi-user apps with AngularJS and GoInstant easily. https://developers.goinstant.com/v1/GoAngular/index.html
BSD 3-Clause "New" or "Revised" License
137 stars 30 forks source link

Model does not 'resume synchronization' after a returning to a room #51

Open mattcreager opened 10 years ago

mattcreager commented 10 years ago

GoInstant cleans up a rooms listeners when room.leave() is explicitly called. GoAngular should probably:

  1. Clean up listeners
  2. Empty the model
  3. Emit an event
  4. Listen for a join event, on the associated room
  5. Emit on join
  6. Resume synchronization

cc: @MaheshCasiraghi