kiwiirc / kiwibnc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Separate state data + state functions

prawnsalad opened this issue · comments

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.