unrelated todo note for later

This commit is contained in:
Bruno Windels 2021-05-27 09:11:57 +02:00
parent 2b5dcff836
commit afc3db2f33

View file

@ -163,6 +163,7 @@ export class BaseRoom extends EventEmitter {
return request; return request;
} }
// TODO: move this to Room
async _getSyncRetryDecryptEntries(newKeys, roomEncryption, txn) { async _getSyncRetryDecryptEntries(newKeys, roomEncryption, txn) {
const entriesPerKey = await Promise.all(newKeys.map(async key => { const entriesPerKey = await Promise.all(newKeys.map(async key => {
const retryEventIds = await roomEncryption.getEventIdsForMissingKey(key, txn); const retryEventIds = await roomEncryption.getEventIdsForMissingKey(key, txn);