aboutsummaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
Diffstat (limited to 'src/document')
-rw-r--r--src/document/passing.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document/passing.rs b/src/document/passing.rs
index 0b9a3dd..dc116e3 100644
--- a/src/document/passing.rs
+++ b/src/document/passing.rs
@@ -194,6 +194,7 @@ pub(crate) fn carried_bytes(body: &SyncBody) -> Option<usize> {
SyncBody::Message(payload) | SyncBody::Deflated(payload) => Some(payload.0.len()),
SyncBody::Changes { changes, .. } => Some(changes.iter().map(|change| change.len()).sum()),
SyncBody::Delta(_) => None,
+ SyncBody::Kind(bytes) => Some(bytes.len()),
}
}