Skip to content

Commit 4f56e61

Browse files
committed
fix: fixed assembler
1 parent 6c3ef64 commit 4f56e61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assembler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ impl FragmentAssembler {
1414
if let Some((_, fragments)) = self.fragments.get_mut(&communication_id) {
1515
fragments.push(fragment);
1616
} else {
17-
self.fragments.insert(communication_id, (session_id, vec![fragment]));
17+
self.fragments.insert(communication_id, (fragment.total_n_fragments, vec![fragment]));
1818
}
1919

2020
let (total, fragments) = self.fragments.get_mut(&communication_id)?;

0 commit comments

Comments
 (0)