forked from mirror/mautrix-discord
Always use guild room for join rule
This commit is contained in:
parent
a6d9e62b49
commit
2da2aa47e9
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ func (portal *Portal) CreateMatrixRoom(user *User, channel *discordgo.Channel) e
|
|||
Content: event.Content{Parsed: &event.JoinRulesEventContent{
|
||||
JoinRule: event.JoinRuleRestricted,
|
||||
Allow: []event.JoinRuleAllow{{
|
||||
RoomID: spaceID,
|
||||
RoomID: portal.Guild.MXID,
|
||||
Type: event.JoinRuleAllowRoomMembership,
|
||||
}},
|
||||
}},
|
||||
|
|
Loading…
Reference in a new issue