Importing state data such as connection buffers+user lists is fiddly as we have to re-create class instances for buffers and users based on the imported json. We should separate the data so that a single datastore is in use while we have functions that modify the state, similar to the state handlers on the client.
Importing state data such as connection buffers+user lists is fiddly as we have to re-create class instances for buffers and users based on the imported json. We should separate the data so that a single datastore is in use while we have functions that modify the state, similar to the state handlers on the client.