SwellRT / swellrt

SwellRT main project. Server, JavaScript and Java clients
http://swellrt.org/
Apache License 2.0
234 stars 34 forks source link

Pad editions lost after session change #160

Closed atfornes closed 8 years ago

atfornes commented 8 years ago

After changing a session from ANONYMOUS to a named one with the following steps, the changes performed in the pad are not saved and there are no Exceptions or other way to detect those losses.

SwellRT.logout()
SwellRT.startSession(
  'http://<swell_server.net>',
   '<user_name>', 
  '<user_password>', 
  function(s){console.log('success:', s)},
  function(s){console.log('error:', s)})

A success is received form the last cal with the session object

pablojan commented 8 years ago

Not an issue. Collab. objects must be reopened anytime a session is started

https://github.com/P2Pvalue/swellrt/wiki/Sessions-and-Users