]> Untitled Git - lemmy.git/commitdiff
Fix Issue #3075 by using None for local fields instead of Some(false) (#3088)
authorNeshura <neshura@protonmail.ch>
Wed, 14 Jun 2023 12:34:45 +0000 (14:34 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 12:34:45 +0000 (08:34 -0400)
* 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,

crates/apub/src/protocol/objects/group.rs

index 8149e67121840b0b1189409400a076125c9c23ba..f077a501100b409ed1f14e71c599ec3f57d443ba 100644 (file)
@@ -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),