Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform crypto store operations directly after transaction
At least on Safari but perhaps other browsers as well, you must perform IndexedDB operations in the same JS task as you start the transaction. As a concrete example, you cannot open the transaction and await some promise before actually using it. This fixes the crypto store to meet this requirement. Fixes element-hq/element-web#12207
- Loading branch information