Created Feature: Room State Management (markdown)
parent
088b42465c
commit
2388b5e076
|
@ -0,0 +1,13 @@
|
||||||
|
# Room State Management
|
||||||
|
|
||||||
|
Planning and design of the room state management "feature."
|
||||||
|
|
||||||
|
* The bot must keep track of rooms it is in, and what users are in each room.
|
||||||
|
|
||||||
|
## Bot Changes
|
||||||
|
|
||||||
|
Listen to Matrix event for when users enter and leave rooms. When accepting an invite, also download user list (maybe this is a separate event?)
|
||||||
|
|
||||||
|
## Database Changes
|
||||||
|
|
||||||
|
New DB object `Rooms`. Trees for room -> list of users, and maybe user -> list of rooms. We need user -> list of rooms for easy implementation of private conversation command execution.
|
Loading…
Reference in New Issue