matrix-js-sdk
ff2d93d4 - Perform crypto store operations directly after transaction

Comment changes are shownComment changes are hidden
Commit
5 years ago
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 https://github.com/vector-im/riot-web/issues/12207
Author
Committer
Parents
  • src
    • File
      client.js
    • crypto/store
      • File
        indexeddb-crypto-store.js
      • File
        memory-crypto-store.js
Loading