mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
m::create: Ensure m.room.join_rules event is created on spec preset rooms.
This commit is contained in:
parent
c1afee6183
commit
0a2510bc89
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ try
|
|||
"invite"
|
||||
};
|
||||
|
||||
if(join_rule != "invite") try
|
||||
if(join_rule != "invite" || spec_preset(preset)) try
|
||||
{
|
||||
send(room, creator, "m.room.join_rules", "",
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue