Currently in RoomServer, the :participant_data key of RoomServer struct is a Map with a specific structure, but this structure is not clear and one must interpret it based on the code modifying it within RoomServer. The proposal is to make a separate ParticipantData module (or something with a better name), either as a submodule of RoomServer or in its own file, which would handle any operations on this data structure.
The other idea is to expand this to the whole of RoomServer's state. I'm not sure exactly what this would look like, but it seems like an idea to keep in mind.
Currently in
RoomServer
, the:participant_data
key ofRoomServer
struct is a Map with a specific structure, but this structure is not clear and one must interpret it based on the code modifying it withinRoomServer
. The proposal is to make a separateParticipantData
module (or something with a better name), either as a submodule ofRoomServer
or in its own file, which would handle any operations on this data structure.The other idea is to expand this to the whole of
RoomServer
's state. I'm not sure exactly what this would look like, but it seems like an idea to keep in mind.