Follow-up fixes to bridging admin power levels MR !2343 (merged)
- When someone joins the room, if we add them as an admin of the Matrix room, also add them as an admin of the historical Matrix room
- Make sure to call
cleanupAdminsInMatrixRoomIdAccordingToGitterRoomId(...)
alongsideaddAdminsInMatrixRoomIdAccordingToGitterRoomId(...)
when weensureCorrectRoomState(...)
- Refactor to use
ensureStateEvent(...)
instead ofensureStateEventAsMxid(...)
as the bridge user