From 937046a97b4c533a03fe45bfb5ec633d5710e99c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 7 Nov 2024 21:53:17 -0500 Subject: [PATCH] Fixing ts_option. --- crates/api_common/src/person.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/api_common/src/person.rs b/crates/api_common/src/person.rs index 31ba03222..742dc88db 100644 --- a/crates/api_common/src/person.rs +++ b/crates/api_common/src/person.rs @@ -164,6 +164,7 @@ pub struct SaveUserSettings { #[cfg_attr(feature = "full", ts(optional))] pub enable_animated_images: Option, /// Whether a user can send / receive private messages + #[cfg_attr(feature = "full", ts(optional))] pub enable_private_messages: Option, /// Whether to auto-collapse bot comments. #[cfg_attr(feature = "full", ts(optional))]