put the preset in the preset field......
This commit is contained in:
parent
98f5aeb45a
commit
1b03a39dee
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ async function createRoom(channel, guild, spaceID, kstate, privacyLevel) {
|
||||||
const roomID = await api.createRoom({
|
const roomID = await api.createRoom({
|
||||||
name,
|
name,
|
||||||
topic,
|
topic,
|
||||||
preset: PRIVACY_ENUMS.ROOM_HISTORY_VISIBILITY[privacyLevel], // This is closest to what we want, but properties from kstate override it anyway
|
preset: PRIVACY_ENUMS.PRESET[privacyLevel], // This is closest to what we want, but properties from kstate override it anyway
|
||||||
visibility: PRIVACY_ENUMS.VISIBILITY[privacyLevel],
|
visibility: PRIVACY_ENUMS.VISIBILITY[privacyLevel],
|
||||||
invite: [],
|
invite: [],
|
||||||
initial_state: ks.kstateToState(kstate)
|
initial_state: ks.kstateToState(kstate)
|
||||||
|
|
Loading…
Reference in a new issue