mirror of
https://github.com/matrix-construct/construct
synced 2025-01-17 01:51:53 +01:00
ircd:Ⓜ️:event::auth: Fetch join_rules on membership=invite.
This commit is contained in:
parent
7218a5db36
commit
272e28aebe
1 changed files with 1 additions and 1 deletions
|
@ -1733,7 +1733,7 @@ ircd::m::event::auth::check(std::nothrow_t,
|
|||
room.get(std::nothrow, "m.room.member", at<"sender"_>(event)),
|
||||
|
||||
at<"type"_>(event) == "m.room.member" &&
|
||||
membership(event) == "join"?
|
||||
(membership(event) == "join" || membership(event) == "invite")?
|
||||
room.get(std::nothrow, "m.room.join_rules", ""): 0UL,
|
||||
|
||||
at<"type"_>(event) == "m.room.member" &&
|
||||
|
|
Loading…
Add table
Reference in a new issue