From 90793eaaf447b2aaf6d55dfcfe0606b9493d5a7e Mon Sep 17 00:00:00 2001 From: timedout Date: Mon, 21 Sep 2026 03:08:04 +0100 Subject: [PATCH] fix: Actually set `unsigned` in `PDU` after `set_unsigned` --- src/core/matrix/pdu/unsigned.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/matrix/pdu/unsigned.rs b/src/core/matrix/pdu/unsigned.rs index 9c3197245..cf3e5e1f1 100644 --- a/src/core/matrix/pdu/unsigned.rs +++ b/src/core/matrix/pdu/unsigned.rs @@ -86,5 +86,7 @@ pub fn set_unsigned( .expect("sticky event TTL must be a valid JSON value for unsigned"), ); } + + self.unsigned = Some(to_raw_value(&unsigned).unwrap()); } }