You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
In order to handle auth errors (such as incorrect passwords), we need to ensure we only try to upload cross-signing keys from within the auth flow helper function. This rearranges things to store that function in the builder to use it when the actual upload happens.