projects
/
lemmy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4c783c
)
Fix federation of initial post/comment vote (fixes #1824) (#1835)
author
Nutomic
<me@nutomic.com>
Wed, 13 Oct 2021 14:12:41 +0000
(14:12 +0000)
committer
GitHub
<noreply@github.com>
Wed, 13 Oct 2021 14:12:41 +0000
(10:12 -0400)
crates/apub/src/fetcher/post_or_comment.rs
patch
|
blob
|
history
diff --git
a/crates/apub/src/fetcher/post_or_comment.rs
b/crates/apub/src/fetcher/post_or_comment.rs
index ff07024fc3a6c4fb8d1cd54f935c0dd5cf59d7da..23fc709d616bc255fda263b14c730e20c69ce0f5 100644
(file)
--- a/
crates/apub/src/fetcher/post_or_comment.rs
+++ b/
crates/apub/src/fetcher/post_or_comment.rs
@@
-23,6
+23,7
@@
pub enum PostOrCommentForm {
}
#[derive(Deserialize)]
+#[serde(untagged)]
pub enum PageOrNote {
Page(Box<Page>),
Note(Box<Note>),