Skip to content

Commit e95019d

Browse files
committed
Add new
1 parent f656aba commit e95019d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/e2ee/RustEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class RustEngine {
9292
return this.addTrackedUsersPromise = this.lock.acquire(SYNC_LOCK_NAME, async () => {
9393
// Immediately clear this promise so that a new promise is queued up.
9494
this.addTrackedUsersPromise = undefined;
95-
const uids = Array<UserId>(this.trackedUsersToAdd.size);
95+
const uids = new Array<UserId>(this.trackedUsersToAdd.size);
9696
let idx = 0;
9797
for (const u of this.trackedUsersToAdd.values()) {
9898
uids[idx++] = new UserId(u);

0 commit comments

Comments
 (0)