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:
parent
407ee42343
commit
4753e7aada
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue