Fall back to federation if we can't satisfy with any of our local users

This commit is contained in:
Neil Alexander 2021-11-15 15:16:57 +00:00
parent 2890218c4b
commit 0c3d2f0f64
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 11 additions and 4 deletions

View file

@ -209,8 +209,6 @@ func (r *FederationSenderInternalAPI) performJoinUsingServer(
return fmt.Errorf("respMakeJoin.JoinEvent.Build: %w", err)
}
fmt.Println("Join event:", event.EventID())
// No longer reuse the request context from this point forward.
// We don't want the client timing out to interrupt the join.
var cancel context.CancelFunc