]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/source/local_user.rs
Add show_new_posts_notifs setting. Fixes #1664 (#1665)
[lemmy.git] / crates / db_schema / src / source / local_user.rs
index 77e0c0ceb437aba4c738a66fa0945a300e6cd470..df83e268feb104f27ce9f7d66c73c049c4693bec 100644 (file)
@@ -19,6 +19,7 @@ pub struct LocalUser {
   pub show_bot_accounts: bool,
   pub show_scores: bool,
   pub show_read_posts: bool,
+  pub show_new_post_notifs: bool,
 }
 
 // TODO redo these, check table defaults
@@ -38,6 +39,7 @@ pub struct LocalUserForm {
   pub show_bot_accounts: Option<bool>,
   pub show_scores: Option<bool>,
   pub show_read_posts: Option<bool>,
+  pub show_new_post_notifs: Option<bool>,
 }
 
 /// A local user view that removes password encrypted
@@ -58,4 +60,5 @@ pub struct LocalUserSettings {
   pub show_bot_accounts: bool,
   pub show_scores: bool,
   pub show_read_posts: bool,
+  pub show_new_post_notifs: bool,
 }