make type explicit
This commit is contained in:
parent
00d8f81bdd
commit
a12f10dc3c
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export class RoomEncryption {
|
|||
}
|
||||
|
||||
async writeMemberChanges(memberChanges, txn, log) {
|
||||
let shouldFlush;
|
||||
let shouldFlush = false;
|
||||
const memberChangesArray = Array.from(memberChanges.values());
|
||||
if (memberChangesArray.some(m => m.hasLeft)) {
|
||||
log.log({
|
||||
|
|
Reference in a new issue