Don't add unwanted key to initial room creation
This commit is contained in:
@@ -238,6 +238,7 @@ async function postApplyPowerLevels(kstate, callback) {
|
|||||||
const powerLevelContent = kstate["m.room.power_levels/"]
|
const powerLevelContent = kstate["m.room.power_levels/"]
|
||||||
const kstateWithoutPowerLevels = {...kstate}
|
const kstateWithoutPowerLevels = {...kstate}
|
||||||
delete kstateWithoutPowerLevels["m.room.power_levels/"]
|
delete kstateWithoutPowerLevels["m.room.power_levels/"]
|
||||||
|
delete kstateWithoutPowerLevels["chat.schildi.hide_ui/read_receipts"]
|
||||||
|
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
const roomID = await callback(kstateWithoutPowerLevels)
|
const roomID = await callback(kstateWithoutPowerLevels)
|
||||||
|
Reference in New Issue
Block a user