1 Feature: Room State Management
ProjectMoon edited this page 2020-11-03 22:02:31 +00:00

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.