0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-14 05:20:17 +01:00

ircd:Ⓜ️:rooms: Only test join_rule if room is not summarized in !public.

This commit is contained in:
Jason Volk 2019-09-13 17:26:28 -07:00
parent 407ee42343
commit 4753e7aada

View file

@ -103,7 +103,7 @@ ircd::m::rooms::for_each(const opts &opts,
if(!room::aliases(room).count(opts.server))
return;
if(opts.join_rule)
if(opts.join_rule && !opts.summary)
if(!join_rule(room, opts.join_rule))
return;