matrix-js-sdk
6e7b9472 - Add a save() method to the store interface

Commit
9 years ago
Add a save() method to the store interface Originally I just piggy-backed off setSyncToken() but this was] non-obvious that depending on the store it might do writes to the database. This was exacerbated by the fact that the save needs to be done at the "right time" (after sync data is accumulated and after the sync response has been processed) and setSyncToken was being called too early. A save() method fixes both these things.
Author
Parents
Loading