From 2388b5e07609d9fcb76cd0b6588db11a2567e68a Mon Sep 17 00:00:00 2001 From: ProjectMoon Date: Tue, 3 Nov 2020 22:02:31 +0000 Subject: [PATCH] Created Feature: Room State Management (markdown) --- Feature:-Room-State-Management.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Feature:-Room-State-Management.md diff --git a/Feature:-Room-State-Management.md b/Feature:-Room-State-Management.md new file mode 100644 index 0000000..80fa02a --- /dev/null +++ b/Feature:-Room-State-Management.md @@ -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. \ No newline at end of file