From b897b2893e751d34ff5a412b354fb28c6141ceec Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 13 Oct 2021 12:34:25 +0200 Subject: [PATCH] Fix federation of initial post/comment vote (fixes #1824) --- crates/apub/src/fetcher/post_or_comment.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/apub/src/fetcher/post_or_comment.rs b/crates/apub/src/fetcher/post_or_comment.rs index ff07024fc..23fc709d6 100644 --- 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), Note(Box),