0
0
Fork 0
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:
Jason Volk 2019-08-10 00:16:36 -07:00
parent c1afee6183
commit 0a2510bc89

View file

@ -203,7 +203,7 @@ try
"invite" "invite"
}; };
if(join_rule != "invite") try if(join_rule != "invite" || spec_preset(preset)) try
{ {
send(room, creator, "m.room.join_rules", "", send(room, creator, "m.room.join_rules", "",
{ {