tenebrous-dicebot/src/db
projectmoon 14f8bc8b39
continuous-integration/drone/push Build is passing Details
Reuse device ID generated by matrix SDK after first login.
Adds new db tree for simple global state values (which also lays
foundation for other stuff), and stores device ID in that tree after
first login. The ID is then reused on subsequent runs of the
application.

This is simpler than storing device ID in config file.

Fixes #9.
2021-02-07 14:21:28 +00:00
..
variables Better public API for user variables, avoid allocations in Context. 2020-11-03 20:31:29 +00:00
data_migrations.rs Better public API for user variables, avoid allocations in Context. 2020-11-03 20:31:29 +00:00
errors.rs Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
migrations.rs Add db migration support, change variables schema. 2020-10-30 21:53:22 +00:00
rooms.rs Unit test for updating room info data. 2020-11-29 21:33:46 +00:00
schema.rs Keep seen events in database, don't process already-seen events. 2020-11-09 21:16:07 +00:00
state.rs Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
variables.rs Better public API for user variables, avoid allocations in Context. 2020-11-03 20:31:29 +00:00