mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 22:02:46 +00:00
Add support for MSC3787 and org.matrix.msc3787
room version (update to matrix-org/gomatrixserverlib#310)
This commit is contained in:
parent
45c4c00672
commit
b541f3043f
4 changed files with 5 additions and 5 deletions
|
@ -425,7 +425,7 @@ func checkRestrictedJoin(
|
|||
roomVersion gomatrixserverlib.RoomVersion,
|
||||
roomID, userID string,
|
||||
) (*util.JSONResponse, string, error) {
|
||||
if allowRestricted, err := roomVersion.AllowRestrictedJoinsInEventAuth(); err != nil {
|
||||
if allowRestricted, err := roomVersion.MayAllowRestrictedJoinsInEventAuth(); err != nil {
|
||||
return nil, "", err
|
||||
} else if !allowRestricted {
|
||||
return nil, "", nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue