Don't add unwanted key to initial room creation
This commit is contained in:
parent
a05868f418
commit
0d0ca98e13
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ async function postApplyPowerLevels(kstate, callback) {
|
|||
const powerLevelContent = kstate["m.room.power_levels/"]
|
||||
const kstateWithoutPowerLevels = {...kstate}
|
||||
delete kstateWithoutPowerLevels["m.room.power_levels/"]
|
||||
delete kstateWithoutPowerLevels["chat.schildi.hide_ui/read_receipts"]
|
||||
|
||||
/** @type {string} */
|
||||
const roomID = await callback(kstateWithoutPowerLevels)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue