Also sync join rules for space
This commit is contained in:
parent
1b03a39dee
commit
3f3851d1f5
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ async function guildToKState(guild, privacyLevel) {
|
|||
"m.room.name/": {name: guild.name},
|
||||
"m.room.avatar/": avatarEventContent,
|
||||
"m.room.guest_access/": {guest_access: createRoom.PRIVACY_ENUMS.GUEST_ACCESS[privacyLevel]},
|
||||
"m.room.history_visibility/": {history_visibility: createRoom.PRIVACY_ENUMS.SPACE_HISTORY_VISIBILITY[privacyLevel]}
|
||||
"m.room.history_visibility/": {history_visibility: createRoom.PRIVACY_ENUMS.SPACE_HISTORY_VISIBILITY[privacyLevel]},
|
||||
"m.room.join_rules/": {join_rule: createRoom.PRIVACY_ENUMS.SPACE_JOIN_RULES[privacyLevel]}
|
||||
}
|
||||
|
||||
return guildKState
|
||||
|
|
Loading…
Reference in a new issue