tenebrous-dicebot/src/bot
projectmoon 5d002e5063 Add ability to store user active room, with skeleton accounts.
- Adds a user_state table, currently only with active_room.
 - A user must have an account to take advantage of state.
 - Now, all users will get an 'account' even if they don't explicitly register.
 - Bonus: converts user queries to compile-time checked macros.

To support these automatically created "accounts," the accounts table
now also has an account_status column, indicating if the user is
registered or not (or pending activation--future use).

The User model has been updated with extra properties from the state,
and the user is now carrried in the Context during command execution.
A user is ensured to be created before executing the command.
2021-05-25 22:29:01 +00:00
..
command_execution.rs Add ability to store user active room, with skeleton accounts. 2021-05-25 22:29:01 +00:00
event_handlers.rs Remove room state mgmt; let matrix SDK do it on-demand instead. 2021-05-24 21:45:51 +00:00
mod.rs Consider command execution secure when proper conditions are met. 2021-05-21 22:28:45 +00:00