add: ability to mask your account when creating a question

This commit is contained in:
trisua 2025-07-01 14:50:19 -04:00
parent 973373426a
commit 0634819278
11 changed files with 125 additions and 79 deletions

View file

@ -381,6 +381,9 @@ impl Question {
pub struct QuestionContext {
#[serde(default)]
pub is_nsfw: bool,
/// If the owner is shown as anonymous in the UI.
#[serde(default)]
pub mask_owner: bool,
}
#[derive(Clone, Debug, Serialize, Deserialize)]