fix: polish matrix e2ee storage (#1298) (thanks @sibbl)

This commit is contained in:
Peter Steinberger
2026-01-20 11:51:08 +00:00
parent 9b71382efb
commit d91f0ceeb3
13 changed files with 1196 additions and 140 deletions

View File

@@ -112,7 +112,8 @@ export function enqueueCommand<T>(
}
export function getQueueSize(lane: string = CommandLane.Main) {
const state = lanes.get(lane);
const resolved = lane.trim() || CommandLane.Main;
const state = lanes.get(resolved);
if (!state) return 0;
return state.queue.length + state.active;
}