Skip to content

Commit

Permalink
Use the new members array? (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot authored Mar 28, 2023
2 parents 3900fe2 + 9c2036c commit 2485ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/e2ee/RustEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ export class RustEngine {
settings.rotationPeriodMessages = BigInt(encEv.rotationPeriodMessages);

await this.lock.acquire(SYNC_LOCK_NAME, async () => {
await this.machine.updateTrackedUsers(members); // just in case we missed some
await this.machine.updateTrackedUsers(membersArray); // just in case we missed some
await this.runOnly(RequestType.KeysQuery);
const keysClaim = await this.machine.getMissingSessions(members);
const keysClaim = await this.machine.getMissingSessions(membersArray);
if (keysClaim) {
await this.processKeysClaimRequest(keysClaim);
}
Expand Down

0 comments on commit 2485ea1

Please sign in to comment.