mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-24 16:25:18 +00:00
039f1a8ef0
We introduce a new interface `ManagementRoomDetail`, and our implementation of this has immediate access to the room members and room state. Immediately, this allows us to warn when the management room is public. In the future, it gives us a nice place to decide things like decide whether membership of the management room is enough to be considered a moderator, introduce more redundancy in access control, and give capabilities a way to determine who is a moderator (and avoid enacting consequences against them). * Move management room to its own folder so we can start introspecting on it. * Add ManagementRoomDetail.ts This is just used to track who is a moderator and whether the management room is public. * Update ManagementRoomOutput to depend on ManagementRoomDetail. This should allow us to implement the feature that warns when the management room is public. * Send a warning if the management room is public. Fixes https://github.com/the-draupnir-project/Draupnir/issues/413. * Update to MPS 1.7.0 so we can get the join rule event.