From 8e6e29cf1a0723fa15c6b20c5c8450cd6b7d1f47 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 21 May 2026 14:15:02 +0100 Subject: [PATCH] Fix MAX_PDU_SIZE_BYTES --- rust/src/events/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/events/constants.rs b/rust/src/events/constants.rs index f7634973e6..e68a62c32f 100644 --- a/rust/src/events/constants.rs +++ b/rust/src/events/constants.rs @@ -3,7 +3,7 @@ //! Contains types and utilities for working with Matrix events. /// Maximum size of a PDU -pub const MAX_PDU_SIZE_BYTES: usize = 65_535; +pub const MAX_PDU_SIZE_BYTES: usize = 65_536; /// Event Types pub mod event_type {