matrix-js-sdk
9d80a332 - Upload cross-signing keys first to handle failure

Commit
5 years ago
Upload cross-signing keys first to handle failure This changes to uploading cross-signing keys first, since they require a valid UI auth session, and so are more likely to fail than other API calls. With the new ordering, if they do fail, then by failing first, we won't have made any changes to the user's account, so everything rolls back correctly.
Author
Parents
Loading