]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/impls/community.rs
Hide community v2 (#2055)
[lemmy.git] / crates / db_schema / src / impls / community.rs
index b2b3a6d8188d85c67d36d6ad8590c8d6c8f61245..43b7db3e29621a17a601a12e115c7a3d1d55ad0b 100644 (file)
@@ -43,6 +43,7 @@ mod safe_type {
     local,
     icon,
     banner,
+    hidden,
   );
 
   impl ToSafe for Community {
@@ -62,6 +63,7 @@ mod safe_type {
         local,
         icon,
         banner,
+        hidden,
       )
     }
   }
@@ -372,6 +374,7 @@ mod tests {
       followers_url: inserted_community.followers_url.to_owned(),
       inbox_url: inserted_community.inbox_url.to_owned(),
       shared_inbox_url: None,
+      hidden: false,
     };
 
     let community_follower_form = CommunityFollowerForm {