mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-03 06:32:47 +00:00
Fall back to federation if we can't satisfy with any of our local users
This commit is contained in:
parent
2890218c4b
commit
0c3d2f0f64
3 changed files with 11 additions and 4 deletions
|
@ -604,8 +604,9 @@ func verifyRestrictedMembershipForSendJoin(
|
|||
}
|
||||
|
||||
// If there's no `join_authorised_via_users_server` key then there's
|
||||
// nothing else to do. Return the original event and it'll either
|
||||
// succeed for some other reason or it will fail auth.
|
||||
// nothing else to do. This might be because it's a join -> join transition
|
||||
// or the response to an invite. Return the original event and it'll either
|
||||
// pass auth for some other reason or it will fail auth correctly.
|
||||
if memberContent.AuthorisedVia == "" {
|
||||
return event, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue