]> Untitled Git - lemmy.git/blobdiff - crates/db_views_actor/src/structs.rs
Add pending, and change use specific API response for FollowCommunity. Fixes #2246
[lemmy.git] / crates / db_views_actor / src / structs.rs
index a6ec9710ed8e13fbc626ac2f014f606afb0c3fb2..25d2c178e4163929175a850ae86d23a6a3106cbe 100644 (file)
@@ -20,6 +20,7 @@ pub struct CommunityBlockView {
 pub struct CommunityFollowerView {
   pub community: CommunitySafe,
   pub follower: PersonSafe,
+  pub pending: Option<bool>,
 }
 
 #[derive(Debug, Serialize, Deserialize, Clone)]