mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd:Ⓜ️:room::auth: Fetch join_rules for invite auth_events.
This commit is contained in:
parent
cb94558c4a
commit
911e68e5f5
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ ircd::m::room::auth::generate(json::stack::array &out,
|
|||
state.get(std::nothrow, "m.room.power_levels", "", fetch_append);
|
||||
|
||||
if(type == "m.room.member")
|
||||
if(!m::membership(event) || m::membership(event) == "join")
|
||||
if(!m::membership(event) || m::membership(event) == "join" || m::membership(event) == "invite")
|
||||
state.get(std::nothrow, "m.room.join_rules", "", fetch_append);
|
||||
|
||||
const string_view member_sender
|
||||
|
|
Loading…
Reference in a new issue