From: Neshura Date: Wed, 14 Jun 2023 12:34:45 +0000 (+0200) Subject: Fix Issue #3075 by using None for local fields instead of Some(false) (#3088) X-Git-Url: http://these/git/%22%7Burl%7D/static/git-logo.png?a=commitdiff_plain;h=558035b12802f7c1fb651193af13c4c0ecd2679d;p=lemmy.git Fix Issue #3075 by using None for local fields instead of Some(false) (#3088) * Set insert and update form "local" to None * Extra space to retrigger woodpecker * Resolve code review request https://github.com/LemmyNet/lemmy/pull/3088#discussion_r1229336958 * Remove extra space after None, --- diff --git a/crates/apub/src/protocol/objects/group.rs b/crates/apub/src/protocol/objects/group.rs index 8149e671..f077a501 100644 --- a/crates/apub/src/protocol/objects/group.rs +++ b/crates/apub/src/protocol/objects/group.rs @@ -141,7 +141,7 @@ impl Group { deleted: None, nsfw: Some(self.sensitive.unwrap_or(false)), actor_id: Some(self.id.into()), - local: Some(false), + local: None, private_key: None, hidden: Some(false), public_key: Some(self.public_key.public_key_pem),