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()); } }