room shit

This commit is contained in:
2026-07-10 21:35:38 +10:00
parent 9c7f71896c
commit 5374c10c61
3 changed files with 13 additions and 5 deletions

View File

@@ -82,6 +82,12 @@ export const createRoomEncryptionState = () => ({
},
});
/**
* Partial power levels for MatrixRTC call membership (MSC3401).
* Do NOT put this in createRoom initial_state — homeservers reject incomplete
* m.room.power_levels with 403. Apply after create via sendStateEvent instead,
* or rely on TrustedPrivateChat (both users PL 100) for DMs.
*/
export const createRoomPowerLevelsState = () => ({
type: StateEvent.RoomPowerLevels,
state_key: '',