projects
/
lemmy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43bb45
)
Fix Issue #3075 by using None for local fields instead of Some(false) (#3088)
author
Neshura
<neshura@protonmail.ch>
Wed, 14 Jun 2023 12:34:45 +0000
(14:34 +0200)
committer
GitHub
<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
patch
|
blob
|
history
diff --git
a/crates/apub/src/protocol/objects/group.rs
b/crates/apub/src/protocol/objects/group.rs
index 8149e67121840b0b1189409400a076125c9c23ba..f077a501100b409ed1f14e71c599ec3f57d443ba 100644
(file)
--- 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),